Integrate full instagram oauth
This commit is contained in:
@@ -29,7 +29,7 @@ export class Logger{
|
||||
|
||||
await mkdir(logsDir, { recursive: true });
|
||||
|
||||
await appendFile(fullPath, `${time} - ${message} -> ${JSON.stringify(error)} \n`);
|
||||
await appendFile(fullPath, `${time} - ${message} -> ${error.message} \n`);
|
||||
console.error(`An error occured. The incident has been logged in ${fullPath}`)
|
||||
} catch (err) {
|
||||
console.error("Error writing log:", err);
|
||||
|
||||
Reference in New Issue
Block a user