fix: make build errors easier to read
This commit is contained in:
parent
20cd32243d
commit
77aecc7548
@ -488,9 +488,7 @@ func (c Container) Run(workdir string, cmds []string) (out string, err error) {
|
|||||||
|
|
||||||
err = cmd.Wait()
|
err = cmd.Wait()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
e := fmt.Sprintf("error `%v` for cmd `%v` with output `%v`",
|
flog.Error().Msg(out)
|
||||||
err, cmds, out)
|
|
||||||
err = errors.New(e)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user