Print debug information if config saving failed.
This commit is contained in:
parent
517bb038bc
commit
03b69c5527
@ -621,8 +621,9 @@ class Application(QApplication):
|
|||||||
what, handler.__qualname__))
|
what, handler.__qualname__))
|
||||||
try:
|
try:
|
||||||
handler()
|
handler()
|
||||||
except AttributeError:
|
except AttributeError as e:
|
||||||
log.destroy.warning("Could not save {}.".format(what))
|
log.destroy.warning("Could not save {}.".format(what))
|
||||||
|
log.destroy.debug(e)
|
||||||
# Shut down tabs
|
# Shut down tabs
|
||||||
try:
|
try:
|
||||||
self.mainwindow.tabs.shutdown_complete.connect(partial(
|
self.mainwindow.tabs.shutdown_complete.connect(partial(
|
||||||
|
Loading…
Reference in New Issue
Block a user