From 486ee24b585c896fb09e8aa0b596bdab1f434152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Wed, 28 Nov 2018 13:08:24 +0100 Subject: [PATCH] Less Sentry events --- src/sentry/install.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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',