1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-26 01:27:00 +00:00

Dedupe JS events to prevent 1000s repeated hitting Sentry

This commit is contained in:
Qstick 2020-01-12 14:59:14 -05:00
parent 50c258cc5e
commit 92d0b4f931

View file

@ -89,7 +89,10 @@ export default function createSentryMiddleware() {
release,
sendDefaultPii: true,
beforeSend: cleanseData,
integrations: [new Integrations.RewriteFrames({ iteratee: stripUrlBase })]
integrations: [
new Integrations.RewriteFrames({ iteratee: stripUrlBase }),
new Integrations.Dedupe()
]
});
sentry.configureScope((scope) => {