mirror of https://github.com/Radarr/Radarr
Dedupe JS events to prevent 1000s repeated hitting Sentry
This commit is contained in:
parent
1fab973c67
commit
dec0e3eec3
|
@ -89,7 +89,10 @@ export default function createSentryMiddleware() {
|
||||||
release,
|
release,
|
||||||
sendDefaultPii: true,
|
sendDefaultPii: true,
|
||||||
beforeSend: cleanseData,
|
beforeSend: cleanseData,
|
||||||
integrations: [new Integrations.RewriteFrames({ iteratee: stripUrlBase })]
|
integrations: [
|
||||||
|
new Integrations.RewriteFrames({ iteratee: stripUrlBase }),
|
||||||
|
new Integrations.Dedupe()
|
||||||
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
sentry.configureScope((scope) => {
|
sentry.configureScope((scope) => {
|
||||||
|
|
Loading…
Reference in New Issue