Update copilot-instructions.md

This commit is contained in:
Enno Gelhaus 2025-07-31 22:54:54 +02:00 committed by GitHub
parent fdddf2ca26
commit e665eaaf2c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -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"] }),