# HG changeset patch # User Sylvain Thénault # Date 1284655175 -7200 # Node ID 8dbdd4cc79381a5eee3c1bd1e65a61e5838817b4 # Parent bb546568e466bd54c0fad7c4483dc5045a245f9b [publisher] avoid extra Name error on unexpected error diff -r bb546568e466 -r 8dbdd4cc7938 web/application.py --- a/web/application.py Thu Sep 16 18:39:16 2010 +0200 +++ b/web/application.py Thu Sep 16 18:39:35 2010 +0200 @@ -434,6 +434,7 @@ except: self.critical('Catch all triggered!!!') self.exception('this is what happened') + result = 'oops' finally: if req.cnx and not commited: try: