mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 23:22:02 +00:00
Merge 0f56e17988
into f94d3f2bc6
This commit is contained in:
commit
fe15aa0f28
@ -351,6 +351,7 @@ export default defineRenderHandler(async (event): Promise<Partial<RenderResponse
|
|||||||
|
|
||||||
// Handle errors
|
// Handle errors
|
||||||
if (ssrContext.payload?.error && !ssrError) {
|
if (ssrContext.payload?.error && !ssrError) {
|
||||||
|
await ssrContext.nuxt?.hooks.callHook('app:error', ssrContext.payload.error)
|
||||||
throw ssrContext.payload.error
|
throw ssrContext.payload.error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user