File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2424 "body-parser" : " ^1.15.2" ,
2525 "bunyan" : " ^1.8.1" ,
2626 "express" : " ^4.14.0" ,
27+ "fs-extra" : " ^5.0.0" ,
2728 "joi" : " ^13.1.2" ,
2829 "lodash" : " ^4.15.0" ,
2930 "mkdirp" : " ^0.5.1" ,
3031 "object-resolve-path" : " ^1.1.1" ,
3132 "randomstring" : " ^1.1.5" ,
32- "raven" : " ^2.3.0 " ,
33+ "raven" : " ^2.6.1 " ,
3334 "request" : " ^2.85.0" ,
34- "tar" : " ^4.4.1" ,
35- "fs-extra" : " ^5.0.0" ,
36- "request-promise-native" : " ^1.0.5"
35+ "request-promise-native" : " ^1.0.5" ,
36+ "tar" : " ^4.4.1"
3737 },
3838 "devDependencies" : {
3939 "eslint" : " ^4.17.0" ,
Original file line number Diff line number Diff line change 11import ElastalertServer from './elastalert_server' ;
22
3- if ( process . env . BITSENSOR_SENTRY_ENABLED !== 'false' && process . env . BITSENSOR_SENTRY_DSN !== undefined ) {
3+ if ( process . env . SENTRY_ELASTALERT !== undefined ) {
44 var Raven = require ( 'raven' ) ;
5- Raven . config ( process . env . BITSENSOR_SENTRY_DSN , {
5+ Raven . config ( process . env . SENTRY_ELASTALERT , {
66 captureUnhandledRejections : true
77 } ) . install ( ) ;
88 console . log ( 'Sentry logging enabled for Elastalert' ) ;
99
10- Raven . context ( function ( ) {
10+ Raven . context ( function ( ) {
1111 let server = new ElastalertServer ( ) ;
1212 server . start ( ) ;
1313 } ) ;
You can’t perform that action at this time.
0 commit comments