Skip to content

Commit 3a66515

Browse files
authored
fix(nuxt): do not throw undefined error variable (#32807)
1 parent 664041b commit 3a66515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/src/app/nuxt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ export async function applyPlugins (nuxtApp: NuxtApp, plugins: Array<Plugin & Ob
445445
}).catch((e) => {
446446
// short circuit if we are not rendering `error.vue`
447447
if (!plugin.parallel && !nuxtApp.payload.error) {
448-
throw error
448+
throw e
449449
}
450450
error ||= e
451451
})

0 commit comments

Comments
 (0)