From 30edcaffa5e43da9e673c749bdaec14a43ccd1bc Mon Sep 17 00:00:00 2001 From: Stephen Hand Date: Fri, 24 May 2024 09:06:28 +0100 Subject: [PATCH] Logging --- functions/channelCapture/chatbotCallback.protected.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions/channelCapture/chatbotCallback.protected.ts b/functions/channelCapture/chatbotCallback.protected.ts index e3e55ec0..639f3aad 100644 --- a/functions/channelCapture/chatbotCallback.protected.ts +++ b/functions/channelCapture/chatbotCallback.protected.ts @@ -112,6 +112,8 @@ export const handler = async ( return; } + console.log('conversation / channel attributes:', attributesJson); + const channelAttributes = JSON.parse(attributesJson || '{}'); // Send message to bot only if it's from child