Follow Discord
Sweep 03 Nov 2026 · 22:27Z Build v2.1.318 536 read Stable v2.1.311 Latest v2.1.318 Next v2.1.318 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.317 ·

Some hook errors no longer show the command that was run

For hooks with a type label, warnings and errors now leave out the command text and say its program could not be started

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

Unclear It is not clear which hooks get a type label, so you may not know whether your own hook errors are affected.

What

Hooks are commands that Claude Code runs automatically at set points, such as before or after a tool runs. When a hook has a type label, its warnings and errors no longer include the command text. If its program fails to launch, the error now says "its program could not be started". Before, these messages always included the command.

Why

This changes the error text you see when such a hook fails, so the command itself may not appear in the message.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which hooks get a type label, so you may not know whether your own hook errors are affected.

See this entry in the whole of v2.1.317 →

Feedback