From 7e85132213c83826dc66656f80c24d79c301bdfa Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Wed, 17 Apr 2024 12:02:01 +0200 Subject: [PATCH] :loud_sound: more --- .../[workspaceId]/whatsapp/[credentialsId]/webhook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/viewer/src/pages/api/v1/workspaces/[workspaceId]/whatsapp/[credentialsId]/webhook.ts b/apps/viewer/src/pages/api/v1/workspaces/[workspaceId]/whatsapp/[credentialsId]/webhook.ts index 7389b7d57..18592efae 100644 --- a/apps/viewer/src/pages/api/v1/workspaces/[workspaceId]/whatsapp/[credentialsId]/webhook.ts +++ b/apps/viewer/src/pages/api/v1/workspaces/[workspaceId]/whatsapp/[credentialsId]/webhook.ts @@ -103,7 +103,7 @@ const processWhatsAppReply = async ({ console.log('Message:', message) return { message } } catch (err) { - console.error('Error:', err) + console.log('Error', JSON.stringify(err)) return { message: 'Error processing message' } } }