PRD-1084 fix

Log traceback if db().commit() failed