Merge "Raise correct exception when worker fails" into stable/train

This commit is contained in:
Zuul 2019-11-02 19:25:11 +00:00 committed by Gerrit Code Review
commit 0ed2bcbe26
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ class BuildahBuilder(base.BaseBuilder):
# but not executed a SystemError will be raised.
for job in done:
if job._exception:
raise SystemError(job.exception_info)
raise SystemError(job._exception)
else:
if not_done:
raise SystemError(