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

Hooks module error logging includes structured module label and error detail

Hook failure logs now name the failing hook and show its error message

TierUnder the hoodhow much it should matter to you
Useful1my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaHookswhat it touches
KindImprovementsin v2.1.277,
Under the hood

Hook failure logs now name the failing hook and show its error message

What

When a hook (a user-configured script that runs at a specific point, like before or after a tool call) fails, the error log now shows the hook's name and a rendered version of the error inline, instead of one generic combined message.

Why

This makes it much easier to tell which hook failed and why when troubleshooting hook errors in logs.

See this entry in the whole of v2.1.277 →