Skip to content

Commit

Permalink
Update basicOptions.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
huhuanming committed Nov 27, 2024
1 parent 7d042c8 commit a9f0997
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/shared/src/modules3rdParty/sentry/basicOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export const basicOptions: BrowserOptions = {
}
}
}
// Filter out duplicate error messages
if (Array.isArray(event.breadcrumbs)) {
event.breadcrumbs = event.breadcrumbs.filter(
(e) => e.category !== 'sentry.event' && e.level !== 'error',
Expand Down

0 comments on commit a9f0997

Please sign in to comment.