From 6ca4ff9e1ac2dd4e724d1a44995a5dc4f3a28544 Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Sun, 13 Sep 2026 12:43:08 +0000 Subject: [PATCH] fix(sentry): filter third-party browser extension errors --- src/sentry.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/sentry.ts b/src/sentry.ts index 2c53256335..92405d78e2 100644 --- a/src/sentry.ts +++ b/src/sentry.ts @@ -166,6 +166,12 @@ export const setupSentry = ({ return null } + // Drop errors originating from browser extensions or other third-party + // code, identified by the thirdPartyErrorFilterIntegration tag above. + if (event.tags?.['third_party_code'] === true) { + return null + } + return event }, beforeSendTransaction: (event, _hint) => {