Commit cfdf285
fix(hooks): silence stderr in fail-open dispatch path
Claude Code surfaces stderr as "hook error" even with exit 0. Remove
the stderr message when binary is not found to eliminate the error
display while still failing open with {"decision":"approve"}.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4472220 commit cfdf285
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
101 | 100 | | |
102 | 101 | | |
0 commit comments