equal
deleted
inserted
replaced
411 self.validation_error_handler(req, ex) |
411 self.validation_error_handler(req, ex) |
412 except (Unauthorized, BadRQLQuery, RequestError), ex: |
412 except (Unauthorized, BadRQLQuery, RequestError), ex: |
413 self.error_handler(req, ex, tb=False) |
413 self.error_handler(req, ex, tb=False) |
414 except Exception, ex: |
414 except Exception, ex: |
415 self.error_handler(req, ex, tb=True) |
415 self.error_handler(req, ex, tb=True) |
|
416 except: |
|
417 self.critical('Catch all triggered!!!') |
|
418 self.exception('this is what happened') |
416 finally: |
419 finally: |
417 if req.cnx: |
420 if req.cnx: |
418 try: |
421 try: |
419 req.cnx.rollback() |
422 req.cnx.rollback() |
420 except: |
423 except: |