diff --git a/api/src/third-parties/sentry.js b/api/src/third-parties/sentry.js index 24573418..61745bc1 100644 --- a/api/src/third-parties/sentry.js +++ b/api/src/third-parties/sentry.js @@ -17,10 +17,7 @@ if (sentryEnabled) { } function capture(err, context = {}) { - if (!sentryEnabled) { - console.log("capture", err, JSON.stringify(context)); - return; - } + console.log("capture", err, JSON.stringify(context)); if (typeof context === "string") { context = JSON.parse(context);