Skip to content

Commit

Permalink
fix(app): ignore noisy errors for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
rap2hpoutre committed Mar 28, 2022
1 parent e8f3979 commit 7d4dd94
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ if (!__DEV__) {
Sentry.init({
dsn: SENTRY_XXX,
environment: 'app',
ignoreErrors: [
'Network request failed',
'Failed to fetch',
'NetworkError',
// ???
'withrealtime/messaging',
// This error seems to happen only in firefox and to be ignorable.
// The "fetch" failed because user has navigated.
// Since other browsers don't have this problem, we don't care about it,
// it may be a false positive.
'AbortError: The operation was aborted',
],
});
}

Expand Down

0 comments on commit 7d4dd94

Please sign in to comment.