[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:
yatinkarel 2020-11-24 08:32:31 +05:30
parent 2fff553f7f
commit 2c7f7d6e61
1 changed files with 1 additions and 0 deletions

View File

@ -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):