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