diff --git a/packages/site/src/routes/+error.svelte b/packages/site/src/routes/+error.svelte
index d3f07d60..3897b31e 100644
--- a/packages/site/src/routes/+error.svelte
+++ b/packages/site/src/routes/+error.svelte
@@ -1,8 +1,5 @@
{status}: {error.message}
+{#if $page.error.message} +{status}: {$page.error.message}
{:else} -Encountered a {status} error
-{/if} - -{#if dev && error.stack} -{error.stack}+
Encountered a {$page.status} error
{/if}