mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-27 00:11:23 +00:00
Merge pull request #544 from trezor/fix/sentry-only-in-beta-build
Disable sentry in dev builds
This commit is contained in:
commit
ba480f274e
@ -20,8 +20,8 @@ const enhancers = [];
|
|||||||
|
|
||||||
const middlewares = [thunk, routerMiddleware(history)];
|
const middlewares = [thunk, routerMiddleware(history)];
|
||||||
|
|
||||||
// sentry io middleware only in dev and beta build
|
// sentry io middleware only in beta build
|
||||||
if (buildUtils.isDev() || buildUtils.isBeta()) {
|
if (buildUtils.isBeta()) {
|
||||||
const RAVEN_KEY = 'https://34b8c09deb6c4cd2a4dc3f0029cd02d8@sentry.io/1279550';
|
const RAVEN_KEY = 'https://34b8c09deb6c4cd2a4dc3f0029cd02d8@sentry.io/1279550';
|
||||||
const ravenMiddleware = RavenMiddleware(RAVEN_KEY);
|
const ravenMiddleware = RavenMiddleware(RAVEN_KEY);
|
||||||
Raven.config(RAVEN_KEY).install();
|
Raven.config(RAVEN_KEY).install();
|
||||||
|
Loading…
Reference in New Issue
Block a user