[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

View original on GitHub ↗

4 Comments

github-actions[bot] · 8 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/10964
  2. https://github.com/anthropics/claude-code/issues/16227
  3. https://github.com/anthropics/claude-code/issues/12653

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

t4w4n3 · 8 months ago
RazgrizHsu · 8 months ago

Closing as duplicate of https://github.com/anthropics/claude-code/issues/21151 which covers the same request

github-actions[bot] · 8 months ago

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.