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) => {