Fixed bug in exception handling where self.con.Error should have been mdb.Error.