Skip to content

Commit

Permalink
fix(solidstart): Remove public DSN from README (#13294)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiborza committed Aug 9, 2024
1 parent 28a8237 commit dd0501b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/solidstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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://[email protected]/4507459091824640',
dsn: '__PUBLIC_DSN__',
tracesSampleRate: 1.0, // Capture 100% of the transactions
});
```
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit dd0501b

Please sign in to comment.