You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/cloudflare/README.md
+13-8Lines changed: 13 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -22,16 +22,21 @@ To get started, first install the `@sentry/cloudflare` package:
22
22
npm install @sentry/cloudflare
23
23
```
24
24
25
-
Then set either the `nodejs_compat` or `nodejs_als` compatibility flags in your `wrangler.toml`. This is because the SDK
26
-
needs access to the `AsyncLocalStorage` API to work correctly.
27
-
28
-
```toml
29
-
compatibility_flags = ["nodejs_compat"]
30
-
# compatibility_flags = ["nodejs_als"]
25
+
Then either set the `nodejs_als` or `nodejs_compat` compatibility flags in your `wrangler.jsonc`/`wrangler.toml` config. This is because the SDK needs access to the `AsyncLocalStorage` API to work correctly.
0 commit comments