Skip to content

Commit

Permalink
Show Docker build errors when available (#458)
Browse files Browse the repository at this point in the history
Needed this...
  • Loading branch information
zanieb authored Dec 30, 2024
1 parent 4d400f4 commit 7f80d2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pythonbuild/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ def ensure_docker_image(client, fh, image_path=None):
if "aux" in s and "ID" in s["aux"]:
image = s["aux"]["ID"]

if "error" in s:
log(s["error"])

if not image:
raise Exception("unable to determine built Docker image")

Expand Down

0 comments on commit 7f80d2e

Please sign in to comment.