engine, lib: Misc log and comment changes

Just misc polishing.
This commit is contained in:
James Shubin
2023-11-21 00:04:14 -05:00
parent 66edc39ccb
commit 029cfaf1f8
3 changed files with 6 additions and 3 deletions

View File

@@ -144,7 +144,7 @@ func (obj *Engine) Validate() error {
}
if err := engine.Validate(res); err != nil {
return errwrap.Wrapf(err, "the Res did not Validate")
return fmt.Errorf("%s did not Validate: %v", res, err)
}
}
return nil