From 52bb1eb33c2937913dd0af088a9d126e82eba414 Mon Sep 17 00:00:00 2001 From: Darko Luketic Date: Mon, 8 Jan 2024 17:00:26 +0100 Subject: [PATCH] more verbose errors --- runner/runner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runner/runner.go b/runner/runner.go index 86be9dc..518f2a0 100644 --- a/runner/runner.go +++ b/runner/runner.go @@ -36,7 +36,7 @@ func (r *Runner) Run() error { for _, m := range ms { fv, e := getVersionOfFile(fmt.Sprintf("%s/%s", m.RootPath, m.BinaryPath)) if e != nil { - return e + return fmt.Errorf("error getting version of file: %s", e) } if v != fv { l, e := goBuildBinary(m.RootPath)