From 20ffdf5a928c8c422ae9b6f12e9ba31da40404c0 Mon Sep 17 00:00:00 2001 From: "Mr. Robot" Date: Wed, 4 Feb 2026 11:15:53 +0600 Subject: [PATCH] chore: consistent error display in development and production --- app/error.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/error.vue b/app/error.vue index 7bb9ed11d3..4733331240 100644 --- a/app/error.vue +++ b/app/error.vue @@ -5,9 +5,9 @@ const props = defineProps<{ error: NuxtError }>() -const status = computed(() => props.error.status || 500) +const status = computed(() => props.error.statusCode || 500) const statusText = computed(() => { - if (props.error.statusText) return props.error.statusText + if (props.error.statusMessage) return props.error.statusMessage switch (status.value) { case 404: return 'Page not found'