Print debug information if config saving failed.

This commit is contained in:
Florian Bruhin 2014-06-20 22:56:29 +02:00
parent 517bb038bc
commit 03b69c5527

View File

@ -621,8 +621,9 @@ class Application(QApplication):
what, handler.__qualname__))
try:
handler()
except AttributeError:
except AttributeError as e:
log.destroy.warning("Could not save {}.".format(what))
log.destroy.debug(e)
# Shut down tabs
try:
self.mainwindow.tabs.shutdown_complete.connect(partial(