From 4adffae140a21739cf733de7d7b849f4afce69ac Mon Sep 17 00:00:00 2001 From: Elton Ciatto <53355283+eltonciatto@users.noreply.github.com> Date: Sun, 4 Jan 2026 00:21:08 -0300 Subject: [PATCH] Update src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com> --- .../integrations/channel/whatsapp/whatsapp.baileys.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts index 2068096f..095b46cc 100644 --- a/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts +++ b/src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts @@ -2257,7 +2257,7 @@ export class BaileysStartupService extends ChannelStartupService { } }; } catch (error) { - this.logger.error(`Error generating link preview: ${error}`); + this.logger.error('Error generating link preview', error); return undefined; } }