diff --git a/packages/site/src/routes/+error.svelte b/packages/site/src/routes/+error.svelte
index d3f07d60..a63fbd1d 100644
--- a/packages/site/src/routes/+error.svelte
+++ b/packages/site/src/routes/+error.svelte
@@ -1,8 +1,6 @@
{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}