Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
Loading