Commit 288a366
authored
feat(sveltekit): Ensure
We need to call `@sentry/cloudflare`'s
`setAsyncLocalStorageAsyncContextStrategy` function as otherwise, we
don't get working request isolation.
This patch exports `setAsyncLocalStorageAsyncContextStrategy` from
`@sentry/cloudflare` so that we can call it in the `initCloudflareSentryHandle`
function.AsyncLocalStorage async context strategy is used in Cloudflare Pages (#15557)1 parent c08b05b commit 288a366
File tree
12 files changed
+572
-440
lines changed- packages
- cloudflare/src
- sveltekit
- src/worker
- test
- server-common
- server
- worker
12 files changed
+572
-440
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
13 | 16 | | |
14 | 17 | | |
15 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| 101 | + | |
| 102 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
2 | 6 | | |
3 | 7 | | |
4 | 8 | | |
| |||
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| 24 | + | |
| 25 | + | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
| |||
0 commit comments