diff --git a/frontend/src/lib/assets/undraw_server_error.svg b/frontend/src/lib/assets/undraw_server_error.svg new file mode 100644 index 0000000..0daa182 --- /dev/null +++ b/frontend/src/lib/assets/undraw_server_error.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/frontend/src/routes/+error.svelte b/frontend/src/routes/+error.svelte index 4cff1c8..20fa13e 100644 --- a/frontend/src/routes/+error.svelte +++ b/frontend/src/routes/+error.svelte @@ -2,6 +2,7 @@ import { goto } from '$app/navigation'; import { page } from '$app/stores'; import Lost from '$lib/assets/undraw_lost.svg'; + import ServerError from '$lib/assets/undraw_server_error.svg'; {#if $page.status === 404} @@ -24,3 +25,52 @@ {/if} + +{#if $page.status === 500} +
+ AdventureLog server encountered an error while processing your request.
+
+ Please check the server logs for more information.
+
+ Administrators: Please check your setup using the + documentation. +
+
+ Hint: If you are an administrator, please check your PUBLIC_SERVER_URL
+ in the frontend config to make sure it can reach the backend.
+
+