Skip to content

Commit 2c9ab50

Browse files
committed
sentry: Use allowUrls option to filter out errors in injected scripts
1 parent 132139d commit 2c9ab50

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/sentry.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ export function init() {
1818
...config.sentry,
1919
integrations,
2020

21+
allowUrls: ['crates.io', 'crates-io.herokuapp.com', 'staging.crates-io', 'staging-crates-io.herokuapp.com'],
22+
2123
beforeSend(event, hint) {
2224
let error = hint?.originalException;
2325

0 commit comments

Comments
 (0)