We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
windows 11 nitro 2.9.6 h3 1.11 - 1.12
https://stackblitz.com/edit/unjs-nitro-starter-bbtnhb?file=server%2Froutes%2Fthrow.ts,server%2Froutes%2Findex.ts,server%2Fplugins%2Flog.ts,package.json&title=Nitro%20Starter
index return an error and /throw throws an error. In both case, afterResponse isn't called
afterResponse
There's a bug where throwing error in handlers prevent the afterResponse from being called.
No response
The text was updated successfully, but these errors were encountered:
Upstream issue from unjs/h3#790
Sorry, something went wrong.
No branches or pull requests
Environment
windows 11
nitro 2.9.6
h3 1.11 - 1.12
Reproduction
https://stackblitz.com/edit/unjs-nitro-starter-bbtnhb?file=server%2Froutes%2Fthrow.ts,server%2Froutes%2Findex.ts,server%2Fplugins%2Flog.ts,package.json&title=Nitro%20Starter
index return an error and /throw throws an error. In both case,
afterResponse
isn't calledDescribe the bug
There's a bug where throwing error in handlers prevent the
afterResponse
from being called.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: