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)
else:
subprocess.Popen(args, cwd=cwd)
except OSError as e:
log.destroy.error("Failed to restart: {}".format(e))
except OSError:
log.destroy.exception("Failed to restart")
else:
if shutdown:
self.shutdown()