Skip to content

Commit

Permalink
utils: add missing error info in case of cmd failure (#6355)
Browse files Browse the repository at this point in the history
  • Loading branch information
rpramodd authored and tgross committed Sep 24, 2019
1 parent 8fa3695 commit a555ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/docker/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ func authFromHelper(helperName string) authBackend {
default:
return nil, err
case *exec.ExitError:
return nil, fmt.Errorf("%s with input %q failed with stderr: %s", helper, repo, output)
return nil, fmt.Errorf("%s with input %q failed with stderr: %s", helper, repo, err.Error())
}
}

Expand Down

0 comments on commit a555ce8

Please sign in to comment.