I'm currently trying to create a hook for Gitblit in Groovy, the problem I'm facing is that I don't know how to debug it. I think it's failing due to some missing library, but I have no idea where I can see why it is failing.
Is there some way to configure a log for hooks so I'm able to see the exceptions that are being thrown?