From 77aecc7548154608e8f33ced9b5af6bc3123ef02 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Mon, 7 Oct 2024 13:31:02 +0000 Subject: [PATCH] fix: make build errors easier to read --- container/container.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/container/container.go b/container/container.go index e358820..af45bc9 100644 --- a/container/container.go +++ b/container/container.go @@ -488,9 +488,7 @@ func (c Container) Run(workdir string, cmds []string) (out string, err error) { err = cmd.Wait() if err != nil { - e := fmt.Sprintf("error `%v` for cmd `%v` with output `%v`", - err, cmds, out) - err = errors.New(e) + flog.Error().Msg(out) return }