From e665eaaf2c40d511e7fb509b22048a7eb364590b Mon Sep 17 00:00:00 2001 From: Enno Gelhaus Date: Thu, 31 Jul 2025 22:54:54 +0200 Subject: [PATCH] Update copilot-instructions.md --- .github/copilot-instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index fbd90264..999efe6d 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -66,7 +66,7 @@ The Sentry initialization needs to be updated to enable the logs feature. import * as Sentry from "@sentry/nextjs"; Sentry.init({ - dsn: "https://examplePublicKey@o0.ingest.sentry.io/0", + dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, enableLogs: true, }); @@ -76,7 +76,7 @@ Sentry.init({ ```javascript Sentry.init({ - dsn: "https://examplePublicKey@o0.ingest.sentry.io/0", + dsn: process.env.NEXT_PUBLIC_SENTRY_DSN, integrations: [ // send console.log, console.error, and console.warn calls as logs to Sentry Sentry.consoleLoggingIntegration({ levels: ["log", "error", "warn"] }),