diff options
author | Florian Bruhin <git@the-compiler.org> | 2014-12-26 15:19:52 +0100 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2014-12-26 15:37:25 +0100 |
commit | d029044787141109d2fcf340d07e9199aee064b8 (patch) | |
tree | e98e00471849f134eb0c3a137018459054ab4b5f | |
parent | 769bc653437d0f5d30a7b328e7497701786f5c19 (diff) | |
download | qutebrowser-d029044787141109d2fcf340d07e9199aee064b8.tar.gz qutebrowser-d029044787141109d2fcf340d07e9199aee064b8.zip |
Log full exception on restart errors.
-rw-r--r-- | qutebrowser/app.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 826631e4d..62684d678 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -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() |