mirror of https://github.com/nuxt/nuxt.git
Merge 0f56e17988
into 52faf52cde
This commit is contained in:
commit
fe114c090e
|
@ -351,6 +351,7 @@ export default defineRenderHandler(async (event): Promise<Partial<RenderResponse
|
|||
|
||||
// Handle errors
|
||||
if (ssrContext.payload?.error && !ssrError) {
|
||||
await ssrContext.nuxt?.hooks.callHook('app:error', ssrContext.payload.error)
|
||||
throw ssrContext.payload.error
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue