diff --git a/src/sentry/install.js b/src/sentry/install.js index 5d75ed47..7f2b3622 100644 --- a/src/sentry/install.js +++ b/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',