[Container build] raise Exception post logging error
Currently it catches SystemError and log error message but do not fail, raise SystemError so it fails too. Closes-Bug: #1905348 Change-Id: I2e823c58779dba529a58aff5e0e1c0c880c267aa
This commit is contained in:
parent
2fff553f7f
commit
2c7f7d6e61
|
@ -658,6 +658,7 @@ class Build(command.Command):
|
|||
self.log.error(
|
||||
"Buildah failed with the following error: {}".format(exp)
|
||||
)
|
||||
raise SystemError(exp)
|
||||
|
||||
|
||||
class HotFix(command.Command):
|
||||
|
|
Loading…
Reference in New Issue