mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-13 21:02:56 +08:00
🔧 Add debug logging for error details in WhatsApp message handling
This commit is contained in:
parent
ca46139694
commit
ee0aaa9715
@ -55,6 +55,7 @@ export const receiveMessagePreview = publicProcedure
|
||||
const details = safeJsonParse(
|
||||
(await parseUnknownError({ err })).details,
|
||||
);
|
||||
console.log("details", details);
|
||||
Sentry.addBreadcrumb({
|
||||
data:
|
||||
typeof details === "object" && details
|
||||
|
||||
@ -63,6 +63,7 @@ export const receiveMessage = publicProcedure
|
||||
const details = safeJsonParse(
|
||||
(await parseUnknownError({ err })).details,
|
||||
);
|
||||
console.log("details", details);
|
||||
Sentry.addBreadcrumb({
|
||||
data:
|
||||
typeof details === "object" && details
|
||||
|
||||
Loading…
Reference in New Issue
Block a user