explicit log message when failing to Fill

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
Andrea Luzzardi 2021-01-21 12:16:10 -08:00
parent b4d16b0268
commit 007b10f455

View File

@ -167,6 +167,10 @@ func (env *Env) Walk(ctx context.Context, fn EnvWalkFunc) (*Value, error) {
// or base + filled?
out, err = out.MergePath(t.Value(), t.Path())
if err != nil {
lg.
Error().
Err(err).
Msg("failed to fill script result")
return err
}
return nil