I’ve implemented a server side hook that works fine in most cases, except one. When I try to merge a feature branch to master the hook fails and it prevents merging and squashing.
Now the problem for me is that I don’t get any info about why it failed. There aren’t any logs for gitlab-shell and there are only return code from hook shown in gitaly logs.
Is there any way to get the stdout and stderr from hook in gitlab logs ?
Hook is written in javascript, so when I do:
console.log(“Save me to gitlab log.”)
I would like to see that in some gitlab log.