end2end: Improve output when subprocess exits

We don't really have the "infrastructure" set up yet to have proper log
output at that point, but we can always just show the log output as part
of the exception.
This commit is contained in:
Florian Bruhin 2016-09-05 16:19:22 +02:00
parent baf6bb5514
commit ba718a2b9d

View File

@ -234,7 +234,7 @@ class Process(QObject):
if not self.is_running():
# _start ensures it actually started, but it might quit shortly
# afterwards
raise ProcessExited()
raise ProcessExited('\n' + _render_log(self.captured_log))
if blocker.signal_triggered:
self._after_start()