Log uncaught exceptions to debug log

This commit is contained in:
Florian Bruhin 2014-11-10 18:34:31 +01:00
parent 57212c8438
commit eaca891616

View File

@ -458,7 +458,7 @@ class Application(QApplication):
return
exc = (exctype, excvalue, tb)
sys.__excepthook__(*exc)
log.misc.error("Uncaught exception", exc_info=exc)
if not self._quit_status['crash']:
log.misc.error("ARGH, there was an exception while the crash "