Claude Code 2.1.295 lets a failed hook block, and its docs still say not to rely on one
Claude Code 2.1.295 adds a setting called onFailure: "block". With it set, a command or HTTP hook "that can't start, times out, or exits with an unexpected code blocks the action instead of letting it through", the changelog says. Without it, a hook that falls over stops nothing. The npm registry…
Sources
- T2Claude Code 2.1.295 lets a failed hook block, and its docs still say not to rely on oneUploadVR / Road to VR / MIXED