Skip to content

Add SvelteKit server-side error monitoring instrumentation #7403

Description

@Lms24

To get error monitoring for the server-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/7411
- [ ] https://github.com/getsentry/sentry-javascript/pull/7416
- [x] Ensure default integrations capture errors not caught by the `handleError` hook

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions