diff --git a/nuxt.config.ts b/nuxt.config.ts index 93b0219a8..49a002b13 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -272,6 +272,14 @@ const nuxtConfig: NuxtConfig = { // do not send user information as Sentry somehow automatically detects username, email and user id // https://docs.sentry.io/platforms/javascript/data-management/sensitive-data/ delete event.user; + + // temporarily add the event data as breadcrumb to show original event information + event.breadcrumbs?.push({ + category: 'sentry.troubleshoot', + level: 'debug', + message: JSON.stringify(event), + }); + return event; }, beforeSendTransaction(event) {