meriadec 7 years ago
parent
commit
52ccb8f09b
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/renderer/index.js

2
src/renderer/index.js

@ -18,7 +18,7 @@ import App from 'components/App'
import 'styles/global'
if (__PROD__ && __SENTRY_URL__) {
Raven.config(__SENTRY_URL__).install()
Raven.config(__SENTRY_URL__, { allowSecretKey: true }).install()
window.addEventListener('unhandledrejection', event => Raven.captureException(event.reason))
}

Loading…
Cancel
Save