diff --git a/src/sentry/install.js b/src/sentry/install.js index 5b78ddf8..5d75ed47 100644 --- a/src/sentry/install.js +++ b/src/sentry/install.js @@ -16,6 +16,18 @@ export default (Raven: any, shouldSendCallback: () => boolean, userId: string) = }, environment: __DEV__ ? 'development' : 'production', shouldSendCallback, + ignoreErrors: [ + 'status code 404', + 'timeout', + 'socket hang up', + 'getaddrinfo ', + 'ETIMEDOUT', + 'ECONNRESET', + 'ENETUNREACH', + 'request timed out', + 'NetworkDown', + 'ERR_CONNECTION_TIMED_OUT', + ], autoBreadcrumbs: { xhr: false, // it is track anonymously from logger console: false, // we don't track because not anonymized