From dd0501b50bc680c1a251cb2359a217d9af901b7c Mon Sep 17 00:00:00 2001 From: Andrei <168741329+andreiborza@users.noreply.github.com> Date: Fri, 9 Aug 2024 17:01:46 +0200 Subject: [PATCH] fix(solidstart): Remove public DSN from README (#13294) --- packages/solidstart/README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/solidstart/README.md b/packages/solidstart/README.md index b654b9bdf744..b5d775781875 100644 --- a/packages/solidstart/README.md +++ b/packages/solidstart/README.md @@ -66,7 +66,7 @@ Create an instrument file named `instrument.server.mjs` and add your initializat import * as Sentry from '@sentry/solidstart'; Sentry.init({ - dsn: 'https://0e67f7dd5326d51506e92d7f1eff887a@o447951.ingest.us.sentry.io/4507459091824640', + dsn: '__PUBLIC_DSN__', tracesSampleRate: 1.0, // Capture 100% of the transactions }); ``` @@ -145,11 +145,6 @@ JS `ErrorBoundary` component with `Sentry.withSentryErrorBoundary`. import * as Sentry from '@sentry/solidstart'; import { ErrorBoundary } from 'solid-js'; -Sentry.init({ - dsn: '__PUBLIC_DSN__', - tracesSampleRate: 1.0, // Capture 100% of the transactions -}); - const SentryErrorBoundary = Sentry.withSentryErrorBoundary(ErrorBoundary); render(