We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f161be commit 3c40dbaCopy full SHA for 3c40dba
apps/site/cloudflare/worker-entrypoint.ts
@@ -3,13 +3,13 @@
3
// - the official open-next docs: https://opennext.js.org/cloudflare/howtos/custom-worker
4
// - the official sentry docs: https://docs.sentry.io/platforms/javascript/guides/cloudflare
5
6
-import * as Sentry from '@sentry/cloudflare';
+import { withSentry } from '@sentry/cloudflare';
7
8
import type { ExecutionContext } from '@cloudflare/workers-types';
9
10
import { default as handler } from '../.open-next/worker.js';
11
12
-export default Sentry.withSentry(
+export default withSentry(
13
() => ({
14
dsn: 'https://examplePublicKey@o0.ingest.sentry.io/0',
15
// Adds request headers and IP for users, for more info visit:
0 commit comments