From 5d2745a3f14b9414fe060634dc3b234a1a188c3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=A9o=20M=C3=A9vollon?= Date: Mon, 4 Dec 2023 11:36:33 +0100 Subject: [PATCH] test --- sentry.client.config.js | 6 +++++- sentry.edge.config.js | 6 +++++- sentry.server.config.js | 6 +++++- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/sentry.client.config.js b/sentry.client.config.js index 110c7b72..95764b9d 100644 --- a/sentry.client.config.js +++ b/sentry.client.config.js @@ -1,3 +1,7 @@ import * as Sentry from "@sentry/nextjs" -Sentry.init({}) +Sentry.init({ + release: process.env.NEXT_PUBLIC_SENTRY_RELEASE, + environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT, + dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, +}) diff --git a/sentry.edge.config.js b/sentry.edge.config.js index 110c7b72..95764b9d 100644 --- a/sentry.edge.config.js +++ b/sentry.edge.config.js @@ -1,3 +1,7 @@ import * as Sentry from "@sentry/nextjs" -Sentry.init({}) +Sentry.init({ + release: process.env.NEXT_PUBLIC_SENTRY_RELEASE, + environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT, + dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, +}) diff --git a/sentry.server.config.js b/sentry.server.config.js index 110c7b72..95764b9d 100644 --- a/sentry.server.config.js +++ b/sentry.server.config.js @@ -1,3 +1,7 @@ import * as Sentry from "@sentry/nextjs" -Sentry.init({}) +Sentry.init({ + release: process.env.NEXT_PUBLIC_SENTRY_RELEASE, + environment: process.env.NEXT_PUBLIC_SENTRY_ENVIRONMENT, + dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, +})