SIGN IN SIGN UP

fix(nitro): Capture errors only through the Nitro error hook (#24952)

Capture errors through Nitro's error hook so ordinary thrown errors are
reported once and 3xx/4xx HTTP errors stay filtered. The tracing channel
continues recording span error status without sending a separate error
event.

Adds E2E coverage for an explicitly thrown 400 and updates the standard
error test to expect the hook event.

Fixes #24939

---------

Co-authored-by: OpenAI Codex <codex@openai.com>
N
Nicolas Hrubec committed
f555a141a127197fee147727fc199e6b356cac71
Parent: 0e00ec1
Committed by GitHub <noreply@github.com> on 10/2/2026, 7:06:47 AM