Fixed glitchtip disabled inversion on API
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m22s
Some checks failed
Continuous Deployment / Update Deployment (push) Failing after 1m22s
This commit is contained in:
@@ -20,8 +20,8 @@ const port = process.env.SERVER_PORT;
|
|||||||
|
|
||||||
//glitchtip setup
|
//glitchtip setup
|
||||||
const sentry = require('@sentry/node');
|
const sentry = require('@sentry/node');
|
||||||
if (!process.env.DISABLE_GLITCHTIP) {
|
if (process.env.DISABLE_GLITCHTIP) {
|
||||||
console.log("Glitchtip disabled AAAAAA")
|
console.log("Glitchtip disabled")
|
||||||
} else {
|
} else {
|
||||||
let dsn = process.env.GLITCHTIP_DSN;
|
let dsn = process.env.GLITCHTIP_DSN;
|
||||||
sentry.init({ dsn: dsn });
|
sentry.init({ dsn: dsn });
|
||||||
|
|||||||
Reference in New Issue
Block a user