This commit is contained in:
Julien Huang 2025-02-18 11:13:55 +01:00 committed by GitHub
commit 5cbb442a2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -361,6 +361,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
}