Skip to content

Commit

Permalink
[skip ci] silence WalletConnect and ads errors in Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2drum committed Nov 10, 2023
1 parent 994ff1e commit 1152438
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/sentry/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ export const config: Sentry.BrowserOptions | undefined = (() => {
'conduitPage',
// Generic error code from errors outside the security sandbox
'Script error.',

// Relay and WalletConnect errors
'Attempt to connect to relay via',
'WebSocket connection failed for URL: wss://relay.walletconnect.com',
],
denyUrls: [
// Facebook flakiness
Expand All @@ -67,6 +71,12 @@ export const config: Sentry.BrowserOptions | undefined = (() => {
/127\.0\.0\.1:4001\/isrunning/i, // Cacaoweb
/webappstoolbarba\.texthelp\.com\//i,
/metrics\.itunes\.apple\.com\.edgesuite\.net\//i,

// AD fetch failed errors
/czilladx\.com/i,
/coinzilla\.com/i,
/coinzilla\.io/i,
/slise\.xyz/i,
],
};
})();
Expand Down

0 comments on commit 1152438

Please sign in to comment.