From b22c3425fa23273c0fa71b3a12346c7585db800b Mon Sep 17 00:00:00 2001 From: Rodrigo Rodriguez Date: Tue, 14 May 2024 19:23:12 -0300 Subject: [PATCH] fix(whatsapp.gblib): Fix PRIVACY_STORE_MESSAGES param. --- src/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.ts b/src/app.ts index f75b2f1b..5748175b 100644 --- a/src/app.ts +++ b/src/app.ts @@ -118,11 +118,11 @@ export class GBServer { }); process.on('uncaughtException', (err, p) => { - GBLog.error(`UNCAUGHT_EXCEPTION: ${JSON.stringify(err)}`); + GBLog.error(`UNCAUGHT_EXCEPTION: ${JSON.stringify(err, Object.getOwnPropertyNames(err))}`); }); process.on('unhandledRejection', (err, p) => { - GBLog.error(`UNHANDLED_REJECTION: ${JSON.stringify(err)}`); + GBLog.error(`UNHANDLED_REJECTION: ${JSON.stringify(err, Object.getOwnPropertyNames(err))}`); }); // Creates working directory.