[core] log
This commit is contained in:
1 parent
70e17250e8
commit
e914aaa961
1 file changed
+1
@@ -9,6 +9,7 @@ import { getLogLevels } from './helpers';
|
||||
import { WAHA_WEBHOOKS } from './structures/webhooks.dto';
|
||||
import { getWAHAVersion, VERSION, WAHAVersion } from './version';
|
||||
|
||||
console.log('NODE - Catching unhandled exceptions enabled');
|
||||
process.on('unhandledRejection', (reason, promise) => {
|
||||
console.error('Unhandled Rejection at:', promise, 'reason:', reason);
|
||||
// @ts-ignore
|
||||
|
||||
Reference in new issue
Block a user