diff --git a/src/main.ts b/src/main.ts index 9508b588..2092fc9a 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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