From dc0474a2ecd2a54e292c6b62206b795e5e1c92bd Mon Sep 17 00:00:00 2001 From: ledouxm Date: Wed, 16 Oct 2024 09:56:25 +0200 Subject: [PATCH] hotfix: temporarily disable sentry --- packages/backend/src/features/sentry.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/packages/backend/src/features/sentry.ts b/packages/backend/src/features/sentry.ts index fceef13..4c3dd11 100644 --- a/packages/backend/src/features/sentry.ts +++ b/packages/backend/src/features/sentry.ts @@ -1,9 +1,8 @@ -const Sentry = require("@sentry/node"); +// const Sentry = require("@sentry/node"); import { ENV, isDev } from "../envVars"; -export const sentry = isDev - ? null - : Sentry.init({ - dsn: ENV.SENTRY_DSN, - tracesSampleRate: 1.0, - }); +export const sentry = isDev ? null : null; +// Sentry.init({ +// dsn: ENV.SENTRY_DSN, +// tracesSampleRate: 1.0, +// });