From 7489b7d7cc88dd279eb5a26982738985a99a3a97 Mon Sep 17 00:00:00 2001 From: MiniDigger | Martin Date: Wed, 2 Aug 2023 12:17:27 +0200 Subject: [PATCH] fix(nuxt): print name of missing island component (#22440) --- packages/nuxt/src/app/components/island-renderer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxt/src/app/components/island-renderer.ts b/packages/nuxt/src/app/components/island-renderer.ts index 07f5409803..421e3863ab 100644 --- a/packages/nuxt/src/app/components/island-renderer.ts +++ b/packages/nuxt/src/app/components/island-renderer.ts @@ -18,7 +18,7 @@ export default defineComponent({ if (!component) { throw createError({ statusCode: 404, - statusMessage: `Island component not found: ${JSON.stringify(component)}` + statusMessage: `Island component not found: ${props.context.name}` }) }