From 20ad42b24773fbf8f2d5434773e676a7f1437c67 Mon Sep 17 00:00:00 2001 From: Stan Runge Date: Sun, 25 Oct 2026 13:15:41 +0000 Subject: [PATCH] handleError for SvelteKit 3: ids only for unknown errors, compact 404 log line; error page suggestions prefer the real parent over the section --- src/error.html | 7 ++++++- src/hooks.client.ts | 12 ++++++------ src/hooks.server.ts | 28 +++++++++++++++------------- src/lib/errors.test.ts | 4 ++++ src/lib/errors.ts | 6 ++++-- 5 files changed, 35 insertions(+), 22 deletions(-) diff --git a/src/error.html b/src/error.html index 084c274..47582d1 100644 --- a/src/error.html +++ b/src/error.html @@ -8,7 +8,12 @@