mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-22 12:03:25 -04:00
(sentry) temporarily add event data as extra breadcrumb for troubleshooting beforeSend
This commit is contained in:
parent
2d352dcd01
commit
f9c3a6b957
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user