debug/readLogs
This commit is contained in:
7 files changed
+49
-30
No files matched your search
@@ -8,6 +8,7 @@ const { HandleActivePlayersList } = require('./util/LogsHandler');
|
||||
|
||||
// Log all uncaught exceptions before killing process.
|
||||
process.on('uncaughtException', async (error) => {
|
||||
console.trace(error);
|
||||
let d = new Date();
|
||||
// Asynchronously write the error message to a log file using Promises
|
||||
await new Promise((resolve, reject) => {
|
||||
|
||||
Reference in new issue
Block a user