1
0

fix: make build errors easier to read

This commit is contained in:
dump_stack() 2024-10-07 13:31:02 +00:00
parent 20cd32243d
commit 77aecc7548
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB

View File

@ -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
} }