Commit abc54349 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

errors on postcommit should never occurs, log it as critical

--HG--
branch : stable
parent 632369f43baf
...@@ -474,7 +474,8 @@ class Session(RequestSessionMixIn): ...@@ -474,7 +474,8 @@ class Session(RequestSessionMixIn):
try: try:
operation.handle_event('%s_event' % trstate) operation.handle_event('%s_event' % trstate)
except: except:
self.exception('error while %sing', trstate) self.critical('error while %sing', trstate,
exc_info=sys.exc_info())
self.debug('%s session %s done', trstate, self.id) self.debug('%s session %s done', trstate, self.id)
finally: finally:
self._touch() self._touch()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment