mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-24 05:05:20 -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,
|
telemetry: false,
|
||||||
},
|
},
|
||||||
config: {
|
config: {
|
||||||
beforeSend(event, hint) {
|
beforeSend(event) {
|
||||||
if (process.env.NODE_ENV === 'development') {
|
|
||||||
console.error(hint.originalException || hint.syntheticException);
|
|
||||||
}
|
|
||||||
// do not send user information as Sentry somehow automatically detects username, email and user id
|
// 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/
|
// https://docs.sentry.io/platforms/javascript/data-management/sensitive-data/
|
||||||
delete event.user;
|
delete event.user;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user