Include Sentry breadcrumbs for context in error reports

Change-Type: patch
This commit is contained in:
Tim Perry 2018-04-16 12:23:31 +02:00
parent cf4c7826b2
commit a16ac37625
2 changed files with 4 additions and 2 deletions

View File

@ -17,7 +17,8 @@ limitations under the License.
Raven = require('raven')
Raven.disableConsoleAlerts()
Raven.config require('./config').sentryDsn,
captureUnhandledRejections: true
captureUnhandledRejections: true,
autoBreadcrumbs: true,
release: require('../package.json').version
.install (logged, error) ->
console.error(error)

View File

@ -21,7 +21,8 @@
"pkg": {
"scripts": [
"node_modules/resin-sync/build/capitano/*.js",
"node_modules/resin-sync/build/sync/*.js"
"node_modules/resin-sync/build/sync/*.js",
"node_modules/raven/lib/instrumentation/*.js"
],
"assets": [
"build/auth/pages/*.ejs",