Skip to content

Commit

Permalink
chore: ignore extensionPageScript error in sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
agualis committed Oct 2, 2024
1 parent 3407daa commit 7021e1e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions lib/shared/utils/query-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,18 @@ export function shouldIgnore(message: string, stackTrace = ''): boolean {
return true
}

/*
Extension related error which does not crash.
Examples: https://balancer-labs.sentry.io/issues/5622743248/
*/
if (
message ===
"Cannot destructure property 'address' of '(intermediate value)' as it is undefined." &&
stackTrace.includes('extensionPageScript.js')
) {
return true
}

/*
Waller Connect bug
More info: https://github.com/WalletConnect/walletconnect-monorepo/issues/4318
Expand Down

0 comments on commit 7021e1e

Please sign in to comment.