Don't log exception during exception handling twice.
This commit is contained in:
parent
8246e9472d
commit
69803f5f87
@ -463,13 +463,13 @@ class Application(QApplication):
|
|||||||
return
|
return
|
||||||
|
|
||||||
exc = (exctype, excvalue, tb)
|
exc = (exctype, excvalue, tb)
|
||||||
log.misc.error("Uncaught exception", exc_info=exc)
|
|
||||||
|
|
||||||
if not self._quit_status['crash']:
|
if not self._quit_status['crash']:
|
||||||
log.misc.error("ARGH, there was an exception while the crash "
|
log.misc.error("ARGH, there was an exception while the crash "
|
||||||
"dialog is already shown:", exc_info=exc)
|
"dialog is already shown:", exc_info=exc)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
log.misc.error("Uncaught exception", exc_info=exc)
|
||||||
self._quit_status['crash'] = False
|
self._quit_status['crash'] = False
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user