equal
deleted
inserted
replaced
432 except BaseException, ex: |
432 except BaseException, ex: |
433 self.error_handler(req, ex, tb=True) |
433 self.error_handler(req, ex, tb=True) |
434 except: |
434 except: |
435 self.critical('Catch all triggered!!!') |
435 self.critical('Catch all triggered!!!') |
436 self.exception('this is what happened') |
436 self.exception('this is what happened') |
|
437 result = 'oops' |
437 finally: |
438 finally: |
438 if req.cnx and not commited: |
439 if req.cnx and not commited: |
439 try: |
440 try: |
440 req.cnx.rollback() |
441 req.cnx.rollback() |
441 except: |
442 except: |