Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(app): ignore noisy errors for mobile #539

Merged
merged 1 commit into from
Mar 28, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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