Don't hide error on pulling image

This commit is contained in:
Ettore Di Giacinto
2020-11-28 18:03:43 +01:00
parent 87004c8e78
commit 9784d6192a
2 changed files with 6 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ func (*SimpleDocker) DownloadImage(opts compiler.CompilerBackendOptions) error {
cmd := exec.Command("docker", buildarg...)
out, err := cmd.CombinedOutput()
if err != nil {
return errors.Wrap(err, "Failed building image: "+string(out))
return errors.Wrap(err, "Failed pulling image: "+string(out))
}
Info(":whale: Downloaded image:", name)
return nil