web/application.py
changeset 5385 b6e250dd7a7d
parent 5328 c51e8f62652a
parent 5377 84d14ddfae13
child 5423 e15abfdcce38
equal deleted inserted replaced
5382:cb5dfea92285 5385:b6e250dd7a7d
   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: