This message was deleted.
# feature-requests
s
This message was deleted.
đŸ‘€ 1
d
i wonder if
git
returns a specific exit code (
> 0
) when hooks fail, so that it is detectable without having to parse raw text output from the error?
đŸ’¡ 1
đŸ‘€ 1
j
I don't think that it does (git is notoriously annoying with exit codes) — but will look into it. We definitely have a lot of ground to cover on better surfacing hooks in general.
d
maybe it's ok to just pass through the entire error message for any error (and better in general–since the goal seems to be visibility)
if i had to roll the dice, git probably passes the error code through from the hook