Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.330 ·

Hooks that run after a tool can now see and rewrite its errors

For some tool calls, errors now pass through PostToolUse hooks, which can rewrite the error text, with a second pass for managed hooks

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

Unclear It is not clear exactly which tool calls this covers or whether it is switched on for everyone.

What

A PostToolUse hook is a command you configure to run automatically after Claude Code uses a tool. For tool calls made from scripts, these hooks used to run only when the tool succeeded. Now:

  • When the tool fails, the error also goes through PostToolUse hooks, and they can rewrite the error text.
  • If that first pass was stopped early or changed the output, a second pass runs using only managed hooks, the ones set by an administrator.
  • If a managed hook rewrites a failure into something that does not fit what the tool normally returns, Claude Code logs a message and keeps the original error text.
Why

Hooks can now react to failures and change what the model is told about them, not only successes.

Read from
Names in the bundlePostToolUse
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 exactly which tool calls this covers or whether it is switched on for everyone.

See this entry in the whole of v2.1.330 →

Feedback