Tweak printing of error messages in dbFetch and dbInsert