Closed
Description
To get error monitoring for the client-side of SvelteKit apps, we need to ensure that all errors are caught:
To wrap the handleError
hook, I already created a PoC that we can probably base our implementation on. For now it's enough to export this wrapper to let users add it manually. Later on, we can add auto-wrapping functionality like in NextJS.
### Tasks
- [ ] https://github.com/getsentry/sentry-javascript/pull/7406
- [x] Ensure default integrations capture errors not caught by the `handleError` hook
- [x] [Needs Research] Should we Instrument [`+error.svelte`](https://kit.svelte.dev/docs/routing#error) pages?