Better logging when shutdown fails.

This commit is contained in:
Florian Bruhin 2014-02-18 11:56:40 +01:00
parent 8ba4661838
commit 306371aa31

View File

@ -326,7 +326,7 @@ class QuteBrowser(QApplication):
functools.partial(self._maybe_quit, 'shutdown'))
self.mainwindow.tabs.shutdown()
except AttributeError: # mainwindow or tabs could still be None
logging.debug("No mainwindow/tabs to shut down.")
logging.exception("No mainwindow/tabs to shut down.")
if do_quit:
self.quit()