Browse Source

Ignore useless errors that goes to sentry

master
Gaëtan Renaudeau 7 years ago
parent
commit
30e6d7c9a0
  1. 12
      src/sentry/install.js

12
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

Loading…
Cancel
Save