[core] log

This commit is contained in:
devlikepro committed 2024-05-27 17:19:44 +07:00
1 parent 70e17250e8
commit e914aaa961
1 file changed
+1
+1
View File
@@ -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