--- a/web/application.py Tue Sep 14 08:48:44 2010 +0200
+++ b/web/application.py Thu Sep 16 18:56:35 2010 +0200
@@ -420,11 +420,12 @@
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!!!')
self.exception('this is what happened')
+ result = 'oops'
finally:
if req.cnx and not commited:
try: