Skip to content

Commit f5c8a3d

Browse files
committed
fix(baileys): enhance error logging by serializing error object for fetching latest WaWeb version
1 parent f07166f commit f5c8a3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ export class BaileysStartupService extends ChannelStartupService {
648648

649649
const error = baileysVersion?.error ?? null;
650650
if (error) {
651-
this.logger.error(`Fetch latest WaWeb version error: ${error.message}`);
651+
this.logger.error(`Fetch latest WaWeb version error: ${JSON.stringify({ error })}`);
652652
}
653653

654654
this.logger.info(`Group Ignore: ${this.localSettings.groupsIgnore}`);

0 commit comments

Comments
 (0)