Hook exit code issue
Lectures say that Exit code 1 is conventional block signal and any non-zero code stops pre handler from running a hook. Anthropic documentation says that 'For the most hook events, only exit code 2 blocks the action. Claude Code treats exit code 1 as non-blocking error and proceed with action ...". Looks like this is a mistake.
2
5 comments
Ievgen Shchepetov
2
Hook exit code issue
Anthropic Claude Architects
skool.com/anthropic-claude-architects-7929
The home for Claude Architects, aspiring architects — and everyone building with Claude.
Powered by