From 007b10f45522d05fdca8271a8b88ae1b75cae8ec Mon Sep 17 00:00:00 2001 From: Andrea Luzzardi Date: Thu, 21 Jan 2021 12:16:10 -0800 Subject: [PATCH] explicit log message when failing to Fill Signed-off-by: Andrea Luzzardi --- dagger/env.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dagger/env.go b/dagger/env.go index cdeea27b..2f912cf7 100644 --- a/dagger/env.go +++ b/dagger/env.go @@ -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