My own, more verbose, version of DatabaseHandle.do() not very verbose, but at least the offending sql statement is now in the exception message.