I am proposing to include the failing SQL in the exception message.
That will make it easier to find what code has failed by searching for the query in client codebase.
I already made a PR (#418), but Greeting action suggests posting an issue, so here it is :)