Raise correct exception when worker fails
'Future' object has no attribute 'exception_info' Change-Id: I8cbdb0c9d82d9d06edfe8860961cd8112e56df62 Closes-Bug: #1850549
This commit is contained in:
parent
37a7f6e65b
commit
c167d3afd5
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user