Skip to content

Commit

Permalink
Fix guide
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed May 28, 2024
1 parent 474d4cf commit 634cc82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/guides/ecosystem/sentry.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ bun add @sentry/bun

Then, initialize the Sentry SDK with your Sentry DSN in your app's entry file. You can find your DSN in your Sentry project settings.

```JavaScript
import * as Sentry from '@sentry/bun';
```js
import * as Sentry from "@sentry/bun";

// Ensure to call this before importing any other modules!
Sentry.init({
dsn: '__SENTRY_DSN__',
dsn: "__SENTRY_DSN__",

// Add Performance Monitoring by setting tracesSampleRate
// We recommend adjusting this value in production
Expand All @@ -35,7 +35,7 @@ Sentry.init({

You can verify that Sentry is working by capturing a test error:

```JavaScript
```js
setTimeout(() => {
try {
foo();
Expand Down

0 comments on commit 634cc82

Please sign in to comment.