Global error page: ErrorView with per-status copy, did-you-mean suggestions, error ids from handleError, static error.html; 404 instead of 500 for bad progress ids; tolerate full header line in DAISY_TASK_WEBHOOK_HEADER and stop logging raw fetch errors
All checks were successful
Deploy production / deploy (push) Successful in 1m9s

This commit is contained in:
2026-10-25 13:10:50 +00:00
parent f86c8ef294
commit a89a187346
13 changed files with 665 additions and 30 deletions

6
src/app.d.ts vendored
View File

@@ -4,7 +4,11 @@
// for information about these interfaces
declare global {
namespace App {
// interface Error {}
interface Error {
message: string;
/** Short id of an unexpected (5xx) error, also in the server log line. */
id?: string;
}
interface Locals {
user: typeof import('#lib/server/auth.js').auth.$Infer.Session.user | null;
session: typeof import('#lib/server/auth.js').auth.$Infer.Session.session | null;