Skip to content

Commit

Permalink
fix(sentry): use specific message filter
Browse files Browse the repository at this point in the history
  • Loading branch information
atticusofsparta committed Jan 12, 2024
1 parent ee6d8fb commit 5c43982
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/utils/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ const sentry =

export default sentry;

const filterMessages = new Set([
'chrome-extension://aflkmfhebedbjioipglgcbcmnbpgliof/injected.js',
]);
const filterMessages = new Set(['Cannot redefine property: ethereum']);

const shouldFilterEvent = (event: Sentry.Event): boolean => {
const isFiltered = [...filterMessages].some((message) =>
Expand Down

0 comments on commit 5c43982

Please sign in to comment.