Title: SvelteKit 3: `handleErrorWithSentry` captures expected errors · Issue #23650 · getsentry/sentry-javascript · GitHub
Open Graph Title: SvelteKit 3: `handleErrorWithSentry` captures expected errors · Issue #23650 · getsentry/sentry-javascript
X Title: SvelteKit 3: `handleErrorWithSentry` captures expected errors · Issue #23650 · getsentry/sentry-javascript
Description: SvelteKit 3 changed the handleError input to { kind, error, event }: status moved onto the error, and expected errors thrown with error(...) now reach the hook too. handleErrorWithSentry still reads the old status, so on Kit 3 it capture...
Open Graph Description: SvelteKit 3 changed the handleError input to { kind, error, event }: status moved onto the error, and expected errors thrown with error(...) now reach the hook too. handleErrorWithSentry still read...
X Description: SvelteKit 3 changed the handleError input to { kind, error, event }: status moved onto the error, and expected errors thrown with error(...) now reach the hook too. handleErrorWithSentry still read...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/23650
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SvelteKit 3: `handleErrorWithSentry` captures expected errors","articleBody":"SvelteKit 3 changed the `handleError` input to `{ kind, error, event }`: `status` moved onto the error, and expected errors thrown with `error(...)` now reach the hook too.\n\n`handleErrorWithSentry` still reads the old `status`, so on Kit 3 it captures framework 404s and every intentional `error(400, …)`, and logs a SvelteKit deprecation warning per error in dev.","author":{"url":"https://github.com/chargome","@type":"Person","name":"chargome"},"datePublished":"2026-08-26T12:11:19Z","url":"https://github.com/getsentry/sentry-javascript/issues/23650"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:fc4ce35f-e9a3-9f43-3dbb-81ee6d9a7366 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8F8:19AD56:27BA76:352559:6B04B1F9 |
| html-safe-nonce | 2a721d5ac147d7c6fea34444539841a95356dfffe868f7df5ec6a025e8dc4f4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEY4OjE5QUQ1NjoyN0JBNzY6MzUyNTU5OjZCMDRCMUY5IiwidmlzaXRvcl9pZCI6Ijg3MzM1MDQ2MzAyNjIzNzkwMDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d45e97c5350822782e597af9ef519aa3a42ee66670d0b8fab4ffdab4590a8dac |
| hovercard-subject-tag | issue:5256833182 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/23650/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f6b2643777259a66ea5eecd7a5db01acab9ad5a31569ec58f30084e7c8a7cf50/getsentry/sentry-javascript/issues/23650 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f6b2643777259a66ea5eecd7a5db01acab9ad5a31569ec58f30084e7c8a7cf50/getsentry/sentry-javascript/issues/23650 |
| og:image:alt | SvelteKit 3 changed the handleError input to { kind, error, event }: status moved onto the error, and expected errors thrown with error(...) now reach the hook too. handleErrorWithSentry still read... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chargome |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width