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(