Skip to content

Commit

Permalink
fix: detection pattern (#1087)
Browse files Browse the repository at this point in the history
  • Loading branch information
agualis committed Sep 13, 2024
1 parent 5c678af commit 21df3ad
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/shared/utils/query-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,7 @@ export function shouldIgnore(message: string, stackTrace = ''): boolean {
Waller Connect bug
More info: https://github.com/WalletConnect/walletconnect-monorepo/issues/4318
*/
if (
message.startsWith('Error: WebSocket connection failed for host: wss://relay.walletconnect.com')
) {
if (message.startsWith('WebSocket connection failed for host: wss://relay.walletconnect.com')) {
return true
}

Expand All @@ -326,7 +324,7 @@ export function shouldIgnore(message: string, stackTrace = ''): boolean {
Examples: https://balancer-labs.sentry.io/issues/5796181794
*/
if (message.startsWith('Error: The source') && message.includes('has not been authorized yet')) {
if (message.startsWith('The source') && message.includes('has not been authorized yet')) {
return true
}

Expand Down

0 comments on commit 21df3ad

Please sign in to comment.