From e195546b4a97317a3406d2e175697825457ee40c Mon Sep 17 00:00:00 2001 From: mikkojamG Date: Thu, 12 Feb 2026 14:36:47 +0200 Subject: [PATCH] fix: requestErrorHandler don't capture 404 Refs: KER-589 --- src/actions/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/actions/index.js b/src/actions/index.js index f276af9f4..884ad975e 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -67,7 +67,9 @@ export const requestErrorHandler = ( dispatch, localizationKey = undefined ) => (err) => { - Sentry.captureException(err); + if (!err.response || err.response.status !== 404) { + Sentry.captureException(err); + } let payload; if (localizationKey) { payload = createLocalizedNotificationPayload(NOTIFICATION_TYPES.error, localizationKey);