From c311ac4f806ce195c7c4136be29a8523fc038857 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 25 Aug 2022 14:17:23 -0500 Subject: [PATCH] Sentry: actually, filter out all AbortErrors --- app/soapbox/monitoring.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/soapbox/monitoring.ts b/app/soapbox/monitoring.ts index 33c03244d..cfa800bde 100644 --- a/app/soapbox/monitoring.ts +++ b/app/soapbox/monitoring.ts @@ -20,9 +20,8 @@ export const start = (): void => { 'AxiosError', // sw.js couldn't be downloaded. 'Failed to update a ServiceWorker for scope', - // The user decided not to share (eg `navigator.share()`). - // This exception is useful for a try/catch flow, but not for error monitoring. - 'AbortError: Share canceled', + // Useful for try/catch, useless as a Sentry error. + 'AbortError', ], denyUrls: [ // Browser extensions.