Skip to content

Commit

Permalink
docs(cloudflare): Fix spacing in README snippet (getsentry#13368)
Browse files Browse the repository at this point in the history
Fixes spacing in readme snippet
  • Loading branch information
AbhiPrasad committed Aug 26, 2024
1 parent 615c670 commit b47de74
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/cloudflare/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,16 +114,16 @@ Currently only ESM handlers are supported.
import * as Sentry from '@sentry/cloudflare';

export default withSentry(
(env) => ({
dsn: env.SENTRY_DSN,
env => ({
dsn: env.SENTRY_DSN,
// Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
tracesSampleRate: 1.0,
}),
{
async fetch(request, env, ctx) {
return new Response('Hello World!');
},
} satisfies ExportedHandler<Env>
tracesSampleRate: 1.0,
}),
{
async fetch(request, env, ctx) {
return new Response('Hello World!');
},
} satisfies ExportedHandler<Env>,
);
```

Expand Down

0 comments on commit b47de74

Please sign in to comment.