1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-26 07:51:36 +00:00

Merge pull request #544 from trezor/fix/sentry-only-in-beta-build

Disable sentry in dev builds
This commit is contained in:
Vladimir Volek 2019-05-03 21:25:25 +02:00 committed by GitHub
commit ba480f274e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,8 +20,8 @@ const enhancers = [];
const middlewares = [thunk, routerMiddleware(history)];
// sentry io middleware only in dev and beta build
if (buildUtils.isDev() || buildUtils.isBeta()) {
// sentry io middleware only in beta build
if (buildUtils.isBeta()) {
const RAVEN_KEY = 'https://34b8c09deb6c4cd2a4dc3f0029cd02d8@sentry.io/1279550';
const ravenMiddleware = RavenMiddleware(RAVEN_KEY);
Raven.config(RAVEN_KEY).install();