webhook: Add error logging for maintainer query
webhook: Add error logging for maintainer query

It seems incorrect database connection strings do not necessarily cause
problems until the first query, so logging the potential errors here is
very helpful when debugging.

macports-staging/mpbot-github