aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/popup.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/popup.js')
-rw-r--r--app/scripts/popup.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/scripts/popup.js b/app/scripts/popup.js
index 5f17f0651..860cc567d 100644
--- a/app/scripts/popup.js
+++ b/app/scripts/popup.js
@@ -7,10 +7,15 @@ const extension = require('extensionizer')
const ExtensionPlatform = require('./platforms/extension')
const NotificationManager = require('./lib/notification-manager')
const notificationManager = new NotificationManager()
+const setupRaven = require('./setupRaven')
// create platform global
global.platform = new ExtensionPlatform()
+// setup sentry error reporting
+const release = global.platform.getVersion()
+setupRaven({ release })
+
// inject css
const css = MetaMaskUiCss()
injectCss(css)