diff --git a/lib/shared/utils/query-errors.ts b/lib/shared/utils/query-errors.ts index 73cf5c3ff..82a163f1f 100644 --- a/lib/shared/utils/query-errors.ts +++ b/lib/shared/utils/query-errors.ts @@ -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