Browse Source

Less Sentry events

gre-patch-1
Gaëtan Renaudeau 6 years ago
parent
commit
486ee24b58
No known key found for this signature in database GPG Key ID: 7B66B85F042E5451
  1. 6
      src/sentry/install.js

6
src/sentry/install.js

@ -14,13 +14,17 @@ export default (Raven: any, shouldSendCallback: () => boolean, userId: string) =
tags: {
git_commit: __GIT_REVISION__,
},
sampleRate: 0.01,
environment: __DEV__ ? 'development' : 'production',
shouldSendCallback,
ignoreErrors: [
'failed with status code',
'status code 404',
'timeout',
'socket hang up',
'getaddrinfo ',
'getaddrinfo',
'could not read from HID device',
'ENOTFOUND',
'ETIMEDOUT',
'ECONNRESET',
'ENETUNREACH',

Loading…
Cancel
Save