Add 'no-results' image to make the error page less 'abrupt' for a simple no-results.

This commit is contained in:
2026-04-28 17:24:04 +01:00
parent 5ead4f8296
commit 5bbffcecb8
2 changed files with 6 additions and 2 deletions

View File

@@ -41,7 +41,7 @@ export const load: PageLoad = async ({ url }) => {
owlCode: 'API_ERROR',
});
} else if (e instanceof Error) {
throw error(20, {
throw error(500, {
message: e.message,
owlCode: 'GEN_ERROR',
})