Skip to content

Add SvelteKit server-side error monitoring instrumentation #7403

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Lms24 opened this issue Mar 10, 2023 · 0 comments · Fixed by #7416
Closed

Add SvelteKit server-side error monitoring instrumentation #7403

Lms24 opened this issue Mar 10, 2023 · 0 comments · Fixed by #7416
Assignees
Labels
Package: sveltekit Issues related to the Sentry SvelteKit SDK

Comments

@Lms24
Copy link
Member

Lms24 commented Mar 10, 2023

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: sveltekit Issues related to the Sentry SvelteKit SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants