mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-07 11:26:41 +00:00
Move sentry DSN to config
This commit is contained in:
parent
88d8112402
commit
f05b04a6a1
@ -21,7 +21,7 @@ Raven = require('raven');
|
||||
|
||||
Raven.disableConsoleAlerts();
|
||||
|
||||
Raven.config('https://56d2a46124614b01b0f4086897e96110:6e175465accc41b595a96947155f61fb@sentry.io/149239', {
|
||||
Raven.config(require('./config').sentryDsn, {
|
||||
captureUnhandledRejections: true,
|
||||
release: require('../package.json').version
|
||||
}).install();
|
||||
|
2
build/config.js
Normal file
2
build/config.js
Normal file
@ -0,0 +1,2 @@
|
||||
// Generated by CoffeeScript 1.12.4
|
||||
exports.sentryDsn = 'https://56d2a46124614b01b0f4086897e96110:6e175465accc41b595a96947155f61fb@sentry.io/149239';
|
@ -17,7 +17,7 @@ limitations under the License.
|
||||
Raven = require('raven')
|
||||
Raven.disableConsoleAlerts()
|
||||
Raven.config(
|
||||
'https://56d2a46124614b01b0f4086897e96110:6e175465accc41b595a96947155f61fb@sentry.io/149239'
|
||||
require('./config').sentryDsn
|
||||
captureUnhandledRejections: true
|
||||
release: require('../package.json').version
|
||||
).install()
|
||||
|
1
lib/config.coffee
Normal file
1
lib/config.coffee
Normal file
@ -0,0 +1 @@
|
||||
exports.sentryDsn = 'https://56d2a46124614b01b0f4086897e96110:6e175465accc41b595a96947155f61fb@sentry.io/149239'
|
Loading…
x
Reference in New Issue
Block a user