You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the above setup, loading / produces logs from the onRequest hook, but that's it. I would expect to have onError called (at least), and likely onBeforeResponse and onAfterResponse since a response is sent anyway.
Additional context
I'm not deeply familiar with h3, but I've been trying to dig deeper following another issue I've created on Nuxt side: nuxt/nuxt#26113.
So, I've set this reproduction up, and I'm now confused as no hook but onRequest is called. I might be missing something, but I've read the documentation and browsed issues, and could not find anything obvious.
Logs
No response
The text was updated successfully, but these errors were encountered:
Environment
h3: latest (1.11.1)
node: v18.18.0 (on Stackblitz), and v20.10.0 (on my machine)
Reproduction
The full reproduction is here https://stackblitz.com/edit/unjs-h3-bql2cu.
Describe the bug
With the above setup, loading
/
produces logs from theonRequest
hook, but that's it. I would expect to haveonError
called (at least), and likelyonBeforeResponse
andonAfterResponse
since a response is sent anyway.Additional context
I'm not deeply familiar with h3, but I've been trying to dig deeper following another issue I've created on Nuxt side: nuxt/nuxt#26113.
So, I've set this reproduction up, and I'm now confused as no hook but
onRequest
is called. I might be missing something, but I've read the documentation and browsed issues, and could not find anything obvious.Logs
No response
The text was updated successfully, but these errors were encountered: