From afb2653452986b25813e9029cf4121e94d6ce960 Mon Sep 17 00:00:00 2001 From: isindir Date: Sun, 25 Oct 2020 01:14:07 +0100 Subject: [PATCH] fix: printing error to stdout together with templated resources (#1550) Fixes #1551 --- pkg/state/state.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/state/state.go b/pkg/state/state.go index 80d13014..075ce610 100644 --- a/pkg/state/state.go +++ b/pkg/state/state.go @@ -2206,7 +2206,7 @@ func (st *HelmState) ExpandedHelmfiles() ([]SubHelmfileSpec, error) { if st.MissingFileHandler == "Error" { return nil, err } - fmt.Println(err) + st.logger.Warnf("no matches for path: %s", hf.Path) continue } for _, match := range matches {