Don't log exception during exception handling twice.

This commit is contained in:
Florian Bruhin 2014-11-12 20:18:36 +01:00
parent 8246e9472d
commit 69803f5f87

View File

@ -463,13 +463,13 @@ class Application(QApplication):
return
exc = (exctype, excvalue, tb)
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 "
"dialog is already shown:", exc_info=exc)
return
log.misc.error("Uncaught exception", exc_info=exc)
self._quit_status['crash'] = False
try: