Unclear It is not stated what condition decides when the address and error text are hidden.
What
Hooks are commands or web requests that Claude Code runs automatically at set points. An HTTP hook sends a web request (a POST) to an address you set. Under a certain condition, two things now change:
- The debug log line, from the detailed log Claude Code writes for troubleshooting, reads 'Hooks: HTTP hook POST' without the ' to ' part.
- When the request fails, the error text is replaced with 'the request failed', plus an error code where there is one.
When the condition does not hold, the address and the original error text still appear. Before this change, they always appeared.
Why
In those cases, the hook's address and the raw error stay out of logs and error messages. That also leaves less detail to work from when a hook fails.
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
It is not stated what condition decides when the address and error text are hidden.