From 5dbf85c7b71382df0e8fadaecebca9b6332e2fc1 Mon Sep 17 00:00:00 2001 From: wvffle Date: Sun, 31 Jul 2022 21:06:21 +0000 Subject: [PATCH] Add sentry environment --- front/src/init/sentry.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/front/src/init/sentry.ts b/front/src/init/sentry.ts index 46a3f04f8..40ed9f55e 100644 --- a/front/src/init/sentry.ts +++ b/front/src/init/sentry.ts @@ -24,6 +24,8 @@ const initSentry = async (app: App, router: Router) => { routingInstrumentation: Sentry.vueRouterInstrumentation(router) }) ], + debug: import.meta.env.DEV, + environment: import.meta.env.MODE, // Set tracesSampleRate to 1.0 to capture 100% // of transactions for performance monitoring. // We recommend adjusting this value in production