You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
error called within load functions trigger a "preloading data error" #15425
Click the "About" tab after opening the browser's console
Logs
// when logging \`${JSON.stringify({ error, status, event, message })}\`in my `handleError`
{
"error": {
"type": "error",
"error": {
... // second arg of my `error(404, { ... })` call },"status": 404 // accurate },"status": 500, // unexpected"event": {"params": { ... },"url": "...","route": {"id": "..." } },"message": "Internal Error" // unexpected}---// the other warning I get at the same timePreloading data for /pull/vercel/nft/568 failed with the following error: Internal ErrorIf this error is transient, you can ignore it. Otherwise, consider disabling preloading for this route. This route was preloaded due to a data-sveltekit-preload-data attribute. See https://svelte.dev/docs/kit/link-options for more info
Fixed on version-3. Since #12579 the client handleError hook is skipped for server load errors, and universal load errors reach it with their real status. Same bug as #16456, where a 2.x backport was declined. The dev warning still fires, now with the real message.
Activity
fix(analytics): prevent intentional errors from triggering error hooks
Nic-Polumeyv commentedon Aug 12, 2026
Fixed on version-3. Since #12579 the client handleError hook is skipped for server load errors, and universal load errors reach it with their real status. Same bug as #16456, where a 2.x backport was declined. The dev warning still fires, now with the real message.