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: { tags: {
git_commit: __GIT_REVISION__, git_commit: __GIT_REVISION__,
}, },
sampleRate: 0.01,
environment: __DEV__ ? 'development' : 'production', environment: __DEV__ ? 'development' : 'production',
shouldSendCallback, shouldSendCallback,
ignoreErrors: [ ignoreErrors: [
'failed with status code',
'status code 404', 'status code 404',
'timeout', 'timeout',
'socket hang up', 'socket hang up',
'getaddrinfo ', 'getaddrinfo',
'could not read from HID device',
'ENOTFOUND',
'ETIMEDOUT', 'ETIMEDOUT',
'ECONNRESET', 'ECONNRESET',
'ENETUNREACH', 'ENETUNREACH',

Loading…
Cancel
Save