Errors logged to gitaly_hooks.log are extremely vague
Error messages logged in /var/log/gitlab/gitaly/gitaly_hooks.log
contain only the return code of the failed hook:
time="2020-06-15T20:59:56Z" level=error msg="error when executing ruby hook: exit status 1"
More details on the cause of the error will make troubleshooting failing hooks easier. Gitaly does return an error to the calling client, but gitaly_hooks.log
is a logical place to look for problems and currently provides no useful information.
groupgitaly, Category:Gitaly, Category:Logging, ~"feature::maintenance"