Skip to content

Commit 8f82a74

Browse files
Lms24nicohrubec
andcommitted
Apply suggestions from code review
Co-authored-by: Nicolas Hrubec <[email protected]>
1 parent 8f12c70 commit 8f82a74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/platforms/javascript/guides/sveltekit/manual-setup.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ Available since version `7.91.0`
423423

424424
</Note>
425425

426-
The `sentryHandle` function you added to your `handle` hook in `hooks.server.ts` during [server-side setup](#server-side-setup) injects a small inline `<script>` tag into the HTML response of the server.
426+
The `sentryHandle` function you added to your `handle` hook in `hooks.server.ts` during [server-side setup](#server-side-setup) injects an inline `<script>` tag into the HTML response of the server.
427427
This script attempts to proxy all client-side `fetch` calls, so that `fetch` calls inside your `load` functions are captured by the SDK.
428428
However, if you configured CSP rules to block inline fetch scripts by default, this script will be [blocked by the browser](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src#unsafe_inline_script).
429429
To enable the script, you need to add an exception for the `sentryHandle` script:
@@ -526,7 +526,7 @@ Available since `8.24.0`
526526
</Note>
527527

528528
You can also manually instrument [server (API) routes ](https://kit.svelte.dev/docs/routing#server) with the SDK.
529-
This is useful if you have custom server routes that you want to trace or if you want to capture `error()` calls within your server routes
529+
This is useful if you have custom server routes that you want to trace or if you want to capture `error()` calls within your server routes:
530530

531531
```javascript {filename:+server.js} {1,3}
532532
import { wrapServerRouteWithSentry } from "@sentry/sveltekit";

0 commit comments

Comments
 (0)