Merge pull request #933 from hedayat/fix-build-error-log

Fix logging build error message
This commit is contained in:
Povilas Kanapickas 2024-05-13 16:24:15 +03:00 committed by GitHub
commit 2ce6d1a1e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2348,7 +2348,7 @@ async def compose_up(compose: PodmanCompose, args):
# `podman build` does not cache, so don't always build
build_args = argparse.Namespace(if_not_exists=(not args.build), **args.__dict__)
if await compose.commands["build"](compose, build_args) != 0:
log("Build command failed")
log.error("Build command failed")
hashes = (
(