DEBUG: adding sentry, still need to disable in dev (#85)

This commit is contained in:
Matthew Ryan Dillon 2018-04-10 20:42:13 -07:00 committed by GitHub
parent 86ab62cb0f
commit 9d9e67868f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 16 additions and 1 deletions

View file

@ -18,6 +18,12 @@
{{content-for "body"}}
<script integrity="" src="{{rootURL}}assets/vendor.js"></script>
<script>
Raven
.config('https://fd3c695fa9394de48a7c69b7a322960b@sentry.io/1186914')
.addPlugin(Raven.Plugins.Ember)
.install();
</script>
<script integrity="" src="{{rootURL}}assets/ccdb-web.js"></script>
{{content-for "body-footer"}}

View file

@ -13,5 +13,8 @@ module.exports = function(defaults) {
app.import('bower_components/bootstrap/dist/css/bootstrap.min.css');
app.import('bower_components/bootstrap/dist/css/bootstrap-theme.min.css');
app.import('node_modules/raven-js/dist/raven.js');
app.import('node_modules/raven-js/dist/plugins/ember.js');
return app.toTree();
};

5
package-lock.json generated
View file

@ -16106,6 +16106,11 @@
"integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=",
"dev": true
},
"raven-js": {
"version": "3.24.1",
"resolved": "https://registry.npmjs.org/raven-js/-/raven-js-3.24.1.tgz",
"integrity": "sha512-p+e+yoQbq4YgXDonYIRZNL/Kov6+t5L0UNEHZeYNzjOkNNCXcwQ1Vi3pulgGBaOjqXNipkFsbpmnH7YI+GPSjw=="
},
"raw-body": {
"version": "2.3.2",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.3.2.tgz",

View file

@ -56,6 +56,7 @@
},
"private": true,
"dependencies": {
"npm": "^5.7.1"
"npm": "^5.7.1",
"raven-js": "^3.24.1"
}
}