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.334 ·

Interrupting Claude while TaskCreated hooks run no longer shows a hook error

If you interrupt a turn while TaskCreated hooks are running, Claude Code now logs it as a cancellation instead of raising an error

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

Hooks are your own commands that Claude Code runs at set moments. TaskCreated hooks run when a task is being created. If those hooks were stopped because the connection to them closed, Claude Code already logged that as a cancellation. It now also does this when you interrupt the turn, meaning you stop Claude's current reply, while the hooks are running. Before, an interrupt caused the error to be passed on.

Why

Stopping Claude partway through no longer produces a hook error. It is recorded as a normal cancellation.

Read from
Names in the bundleTaskCreated

See this entry in the whole of v2.1.334 →

Feedback