We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b38095 commit df4c790Copy full SHA for df4c790
src/index.js
@@ -1,8 +1,8 @@
1
import ElastalertServer from './elastalert_server';
2
3
-if (process.env.SENTRY_ELASTALERT !== undefined) {
+if (process.env.SENTRY_DSN !== undefined) {
4
var Raven = require('raven');
5
- Raven.config(process.env.SENTRY_ELASTALERT, {
+ Raven.config(process.env.SENTRY_DSN, {
6
captureUnhandledRejections: true
7
}).install();
8
console.log('Sentry logging enabled for Elastalert');
0 commit comments