From fc3912ca7dfa765c7212da22037fb8a9dbd66f75 Mon Sep 17 00:00:00 2001 From: Moshe-Rappaport-CA Date: Wed, 31 Aug 2022 15:26:24 +0300 Subject: [PATCH] Print chart name log when fail to generate --- core/cautils/fileutils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/cautils/fileutils.go b/core/cautils/fileutils.go index 8cf5e75c..91630636 100644 --- a/core/cautils/fileutils.go +++ b/core/cautils/fileutils.go @@ -47,7 +47,7 @@ func LoadResourcesFromHelmCharts(basePath string) (map[string][]workloadinterfac if err == nil { wls, errs := chart.GetWorkloadsWithDefaultValues() if len(errs) > 0 { - logger.L().Error(fmt.Sprintf("Rendering of Helm chart template failed: %v", errs)) + logger.L().Error(fmt.Sprintf("Rendering of Helm chart template '%v', failed: %v", chart.GetName(), errs)) continue }