mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-23 04:34:15 -04:00
(sentry) remove unnecessary double console.error
This commit is contained in:
parent
e87c8739e8
commit
91de9e68d1
@ -226,10 +226,7 @@ const nuxtConfig: NuxtConfig = {
|
||||
telemetry: false,
|
||||
},
|
||||
config: {
|
||||
beforeSend(event, hint) {
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
console.error(hint.originalException || hint.syntheticException);
|
||||
}
|
||||
beforeSend(event) {
|
||||
// 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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user