Follow Discord
Sweep 28 Sep 2026 · 18:16Z Build v2.1.284 505 read Stable v2.1.277 Latest v2.1.284 Next v2.1.284 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.284 ·

Hook debug log shows output and errors separately, with the exit code

The debug log now shows a hook's normal output and error output under separate labels, plus its exit code when it fails

You'll notice Improvements
JSON All of v2.1.284
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.284,
ImprovementsSection of the release
What

Hooks are your own commands that Claude Code runs at set moments, such as before a tool runs. When a hook fails or writes to its error stream, the debug log now shows:

  • a stdout: section with its normal output
  • a stderr: section with its error output
  • status code N at the end when it failed, giving its exit code

Failed hooks are logged at error level, others at debug level. A hook that fails without printing anything is now logged too. Before, the log showed only one kind of output, and only when there was some.

Why

Broken hooks are easier to debug: error output is no longer hidden behind normal output, and you can see the exit code. This appears in the debug log only, not on screen.

See this entry in the whole of v2.1.284 →

Feedback