Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.335 ·

A failing PostToolUse hook no longer breaks the tool call

If a PostToolUse hook fails, Claude Code now logs an error and carries on instead of letting the failure stop the tool call

You'll notice Bug Fixes
JSON All of v2.1.335
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
Bug FixesKind: in v2.1.335,
Bug FixesSection of the release
What

A hook is a command you set up to run automatically at a certain point. A PostToolUse hook runs after a tool call succeeds. A tool call is one action Claude takes, such as running a command or editing a file.

Before, if a PostToolUse hook failed, the error passed up and broke the tool call. Now Claude Code keeps any messages the hook had already produced, logs an error, and replaces the result.

Claude Code also now screens the diffs from file edits made through Bash and marks them as screened. A diff shows what changed in a file.

Why

A broken hook is less likely to disrupt Claude's work.

Read from
Names in the bundlePostToolUse
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeChanged Read's PDF page images: hooks and scripts should read them while the call and the PostToolUse hooks it waits for run, not later

See this entry in the whole of v2.1.335 →

Feedback