diff --git a/src/routes/+error.svelte b/src/routes/+error.svelte
new file mode 100644
index 000000000..7bf6432c8
--- /dev/null
+++ b/src/routes/+error.svelte
@@ -0,0 +1,5 @@
+
+
+
{$page.status}: {$page.error.message}
diff --git a/src/routes/+page.server.ts b/src/routes/+page.server.ts
index 827666dff..1f7a5a54c 100644
--- a/src/routes/+page.server.ts
+++ b/src/routes/+page.server.ts
@@ -19,6 +19,6 @@ export const load: PageServerLoad = async ({ url }) => {
});
return {
- models: models
+ models: models ? models.models : []
};
};