mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2026-03-21 20:18:40 -06:00
fix(baileys): enhance error logging by serializing error object for fetching latest WaWeb version
This commit is contained in:
@@ -648,7 +648,7 @@ export class BaileysStartupService extends ChannelStartupService {
|
||||
|
||||
const error = baileysVersion?.error ?? null;
|
||||
if (error) {
|
||||
this.logger.error(`Fetch latest WaWeb version error: ${error.message}`);
|
||||
this.logger.error(`Fetch latest WaWeb version error: ${JSON.stringify({ error })}`);
|
||||
}
|
||||
|
||||
this.logger.info(`Group Ignore: ${this.localSettings.groupsIgnore}`);
|
||||
|
||||
Reference in New Issue
Block a user