more verbose errors

This commit is contained in:
Darko Luketic 2024-01-08 17:00:26 +01:00
parent 61c5cfc03f
commit 52bb1eb33c

View File

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