hugsql

2020-10-24T14:18:31.007500Z

Hello! Has anyone got an elegant way to instrument errors coming from jdbc (in my case, a org.postgresql.util.PSQLException) to get the query text alongside the expression. I can work around this in development by checking the postgres server logs manually. My intuition was to add some kind of interceptor/middleware somewhere, but HugSQL documentation is silent on this.