print exception in case docker-compose job failed
@@ -679,6 +679,8 @@ class RunJob(Job):
c.execute(['docker-compose', '-f', compose_file_new, 'ps'], env=self.environment, cwd=cwd)
c.execute(['get_compose_exit_code.sh', compose_file_new], env=self.environment, cwd=cwd)
except:
+ msg = traceback.format_exc()
+ c.collect(msg, show=True)
raise Failure("Failed to build and run container")
finally:
c.header("Finalize", show=True)
