{"version":"2.1.333","anchor":"hook-exit-2-missing-script-telemetry","canonical_anchor":"hook-exit-2-missing-script-telemetry","heading":"Usage statistics now note hooks that fail because their script is missing","tier":"internal","area":"Telemetry","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/hook-exit-2-missing-script-telemetry","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Usage statistics now note hooks that fail because their script is missing\n\nClaude Code's usage statistics now record whether a hook that exits with code 2 had a missing script\n\n**What**\n\nWhen a hook (a script you set up to run automatically) exits with code 2, Claude Code's usage statistics now record whether the hook's script file was missing.\n\n**Why**\n\nThis is diagnostic data for spotting broken hook setups. It does not change how hooks run.\n\n- Area: Telemetry\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}