Add 'no-results' image to make the error page less 'abrupt' for a simple no-results.
This commit is contained in:
@@ -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',
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user