bdd: Include captured log when subprocess didn't start

Fixes #3052
This commit is contained in:
Florian Bruhin 2017-10-03 21:13:56 +02:00
parent 6c2958b646
commit 16d369d98c

View File

@ -242,7 +242,8 @@ class Process(QObject):
self._after_start()
return
raise WaitForTimeout("Timed out while waiting for process start.")
raise WaitForTimeout("Timed out while waiting for process start.\n" +
_render_log(self.captured_log))
def _start(self, args, env):
"""Actually start the process."""