# HG changeset patch # User Sylvain Thénault # Date 1284655156 -7200 # Node ID bb546568e466bd54c0fad7c4483dc5045a245f9b # Parent de588e756f4fbe9c53c72159c6b96580a36d3fa6 [publisher] with python>=2.5, we should catch BaseException here diff -r de588e756f4f -r bb546568e466 web/application.py --- a/web/application.py Thu Sep 16 15:42:34 2010 +0200 +++ b/web/application.py Thu Sep 16 18:39:16 2010 +0200 @@ -429,7 +429,7 @@ self.validation_error_handler(req, ex) except (Unauthorized, BadRQLQuery, RequestError), ex: self.error_handler(req, ex, tb=False) - except Exception, ex: + except BaseException, ex: self.error_handler(req, ex, tb=True) except: self.critical('Catch all triggered!!!')