Log full exception on restart errors.

This commit is contained in:
Florian Bruhin 2014-12-26 15:19:52 +01:00
parent 769bc65343
commit d029044787

View File

@ -605,8 +605,8 @@ class Application(QApplication):
subprocess.Popen(args) subprocess.Popen(args)
else: else:
subprocess.Popen(args, cwd=cwd) subprocess.Popen(args, cwd=cwd)
except OSError as e: except OSError:
log.destroy.error("Failed to restart: {}".format(e)) log.destroy.exception("Failed to restart")
else: else:
if shutdown: if shutdown:
self.shutdown() self.shutdown()