{"version":"2.1.329","anchor":"hook-failure-blocking-errors-now-carry-a-reason","canonical_anchor":"hook-failure-blocking-errors-now-carry-a-reason","heading":"Errors from failed or timed-out hooks now include a reason","tier":"internal","area":"Hooks","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329\/e\/hook-failure-blocking-errors-now-carry-a-reason","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.329","markdown":"### Errors from failed or timed-out hooks now include a reason\n\nWhen a hook fails or times out, the blocking error now records whether it failed or timed out\n\n**Unclear.** It is not clear whether this reason is shown to you or only recorded internally.\n\n**What**\n\nA hook is a command you set up to run automatically at certain points. When a hook fails or runs out of time, Claude Code reports a blocking error. That error now includes a reason: `hook_timed_out` when the hook ran out of time, and `hook_failed` when it failed. Before, the error carried no reason.\n\n**Why**\n\nIt is easier to tell a slow hook from a broken one when you are working out why an action was blocked.\n\n- Area: Hooks\n- Names: `hook_timed_out`, `hook_failed`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}