1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-08-18 00:09:37 +02: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 1fab973c67
commit dec0e3eec3

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) => {