Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.267 ·

Hooks engine: async hook handlers can now register a .catch(handler)

Async hook handlers can now attach a .catch(handler) to react to a failed downstream call

TierUse it nowhow much it should matter to you
Useful3my rating, 1 to 5
Signal3worth watching, 1 to 5
AreaHookswhat it touches
KindNew Featuresin v2.1.267,
Use it now

Async hook handlers can now attach a .catch(handler) to react to a failed downstream call

What

The system plugins use to hook into Claude Code's behavior now lets an asynchronous hook registration chain a .catch(handler) onto itself, giving hook authors a way to respond when a downstream call times out or errors, instead of the failure simply being thrown.

Why

This gives plugin developers a way to gracefully handle a failure in their hook rather than crashing the operation it's attached to. Hooks created with engine.create are the exception: they have no grace budget, and .catch doesn't apply to them, since their failure always fails the load.

See this entry in the whole of v2.1.267 →