[Bug] Hook error messages not displayed since v2.1.20
Status Fixed / completed
Reported on v2.1.20
Maintainer reply None cached
Activity 4 comments · opened Jan 27, 2026 · closed Jan 29, 2026
Bug Description
Hook error message not visible since v2.1.20
Body:
- Version: 2.1.20
- Problem: Hook error messages are no longer displayed to the user when a hook blocks an action. Previously the
error message was visible, allowing users to understand why an action was blocked.
- Expected: The hook's error/stderr output should be shown so users know the reason for the block.
- Impact: Users cannot debug or understand why their hooks are rejecting tool calls.
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.1.20
- Feedback ID: 51283f3d-2bb4-42a2-8c5c-60f1356feb72
4 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Same problem here.
Documented it here : https://github.com/anthropics/claude-code/issues/16227#issuecomment-3805637501
Closing as duplicate of https://github.com/anthropics/claude-code/issues/21151 which covers the same request
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.