more debug output on SQL errors