equal
deleted
inserted
replaced
383 self.validation_error_handler(req, ex) |
383 self.validation_error_handler(req, ex) |
384 except (Unauthorized, BadRQLQuery, RequestError), ex: |
384 except (Unauthorized, BadRQLQuery, RequestError), ex: |
385 self.error_handler(req, ex, tb=False) |
385 self.error_handler(req, ex, tb=False) |
386 except Exception, ex: |
386 except Exception, ex: |
387 self.error_handler(req, ex, tb=True) |
387 self.error_handler(req, ex, tb=True) |
|
388 except: |
|
389 self.critical('Catch all triggered!!!') |
|
390 self.exception('this is what happened') |
388 finally: |
391 finally: |
389 if req.cnx is not None: |
392 if req.cnx is not None: |
390 try: |
393 try: |
391 req.cnx.rollback() |
394 req.cnx.rollback() |
392 except: |
395 except: |