Log full exception on restart errors.
This commit is contained in:
parent
769bc65343
commit
d029044787
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user