tweak try-except to handle SQL errors better

This should hopefully fix any issues with mogrifying SQL queries to see what went wrong with an SQL call. The weird impracticalities of mogrifying both executemany and execute statements is not worth the hassle. This gets rid of that and just prints the sql, the arguments being fed in, and the error thrown.
tuple or list. I'll add an explicit string conversion.