Commit c378da4e authored by Julien Muchembled's avatar Julien Muchembled

Do not panic on normal exit

In particular, do not flush all debug logs still in memory
parent 30ccff6e
......@@ -74,7 +74,7 @@ class Application(object):
def run(self):
try:
self._run()
except:
except Exception:
logging.exception('Pre-mortem data:')
self.log()
raise
......
......@@ -131,7 +131,7 @@ class Application(object):
def run(self):
try:
self._run()
except:
except Exception:
logging.exception('Pre-mortem data:')
self.log()
raise
......
......@@ -164,7 +164,7 @@ class Application(object):
def run(self):
try:
self._run()
except:
except Exception:
logging.exception('Pre-mortem data:')
self.log()
raise
......
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