Skip to content

Commit 7f80d2e

Browse files
authored
Show Docker build errors when available (#458)
Needed this...
1 parent 4d400f4 commit 7f80d2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pythonbuild/docker.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ def ensure_docker_image(client, fh, image_path=None):
4848
if "aux" in s and "ID" in s["aux"]:
4949
image = s["aux"]["ID"]
5050

51+
if "error" in s:
52+
log(s["error"])
53+
5154
if not image:
5255
raise Exception("unable to determine built Docker image")
5356

0 commit comments

Comments
 (0)