From 4753788ce798cdd84d1a84560128e4e3f1181d01 Mon Sep 17 00:00:00 2001 From: Alex Gibson Date: Tue, 30 Jul 2024 13:47:52 +0100 Subject: [PATCH] Ignore NS_ABORT_FAILURE error in Sentry JS --- media/js/base/sentry-consent.es6.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media/js/base/sentry-consent.es6.js b/media/js/base/sentry-consent.es6.js index 2341ad89e7e..f4a39dee9a1 100644 --- a/media/js/base/sentry-consent.es6.js +++ b/media/js/base/sentry-consent.es6.js @@ -30,7 +30,8 @@ const options = { ignoreErrors: [ '$ is not defined', 'Event `Event` (type=unhandledrejection) captured as promise rejection', - 'NS_ERROR_ABORT', + 'NS_ERROR_ABORT', // https://mozilla.sentry.io/share/issue/3a480856d1784ecdb3d8bbd647df0a7b/ + 'NS_ERROR_FAILURE', // https://mozilla.sentry.io/share/issue/6361b063ea0d4528ac0ef07e181fbb96/ 'NetworkError when attempting to fetch resource', 'Non-Error promise rejection captured' ]