mirror of
https://github.com/nttgin/BGPalerter.git
synced 2024-05-19 06:50:08 +00:00
removed unused lines of code for sentry loading
This commit is contained in:
@@ -49,11 +49,6 @@ export default class Worker {
|
|||||||
this.version = env.version;
|
this.version = env.version;
|
||||||
this.configFile = env.configFile;
|
this.configFile = env.configFile;
|
||||||
|
|
||||||
if (env.sentryDSN) {
|
|
||||||
const Sentry = require('@sentry/node');
|
|
||||||
Sentry.init({ dsn: env.sentryDSN });
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!this.config.multiProcess) {
|
if (!this.config.multiProcess) {
|
||||||
|
|
||||||
this.master();
|
this.master();
|
||||||
|
Reference in New Issue
Block a user