mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-18 21:27:51 +00:00
Include Sentry breadcrumbs for context in error reports
Change-Type: patch
This commit is contained in:
parent
cf4c7826b2
commit
a16ac37625
@ -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)
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user