This commit is contained in:
Julien Huang 2024-11-19 15:12:43 -05:00 committed by GitHub
commit adce67250b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
}