You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
HooksArea: what it touches
ImprovementsKind: in v2.1.329,
ImprovementsSection of the release
What
A hook is a script that runs at set points while Claude Code works, and plugins can bring their own. When such a hook fails during setup, the result used to hold only two things. One was an exit code, a number saying how a program ended. The other was the last part of its error output. The result now also carries the error's message written for users.
The exit code is 2 for this kind of setup failure and 1 for any other error.
Why
When a hook cannot set up, the reason can now come in plain words, not only as raw error output.