diff --git a/dagger/env.go b/dagger/env.go index 55f4e268..0ab8e9f6 100644 --- a/dagger/env.go +++ b/dagger/env.go @@ -88,8 +88,14 @@ func (env *Env) Compute(ctx context.Context) error { lg. Debug(). Msg("[Env.Compute] processing") - _, err := c.Compute(ctx, env.s, out) - return err + if _, err := c.Compute(ctx, env.s, out); err != nil { + lg. + Error(). + Err(err). + Msg("component failed") + return err + } + return nil }) if err != nil { return err