Skip to content

Commit

Permalink
web: Set up error filters
Browse files Browse the repository at this point in the history
  • Loading branch information
schneefux committed Nov 21, 2023
1 parent aabebec commit 9101844
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions web/renderer/all.page.client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ async function render(pageContext: PageContext) {
}),
new HttpClientIntegration(),
],
ignoreErrors: [
// ignore common errors triggered by ads
'ReportingObserver [deprecation]',
'[GPT] ',
'SYNC.JS',
'ox_esp',
'Tyche blocked',
],
allowUrls: [/https?:\/\/brawltime\.ninja/]
})
pageContext.sentry = Sentry as any
Expand Down

0 comments on commit 9101844

Please sign in to comment.