Skip to content

Commit

Permalink
web: Ignore ad errors in Sentry
Browse files Browse the repository at this point in the history
  • Loading branch information
schneefux committed Jan 4, 2025
1 parent a5b1a57 commit ed50abf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/renderer/sentry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ export function initSentry(dsn: string, app: App<Element>, router?: Router) {
return null
}

// ignore errors originating from ad manager script
if (error && error.stack && error.stack.includes('hb.vntsm.com')) {
return null
}

return event
},
})
Expand Down

0 comments on commit ed50abf

Please sign in to comment.