From fb98ef35e445145c5a211b0cfe9002fdd12ad51f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20Ram=C3=ADrez?= Date: Fri, 17 Jan 2025 15:12:22 +0100 Subject: [PATCH] feat: do not print content on config error log --- config/config_render.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/config_render.go b/config/config_render.go index 10a0a6730..ac251d300 100644 --- a/config/config_render.go +++ b/config/config_render.go @@ -63,7 +63,7 @@ func (c *ConfigRender) Merge() (string, error) { dataToml := c.convertVarsToStrings(data.Content) err := k.Load(rawbytes.Provider([]byte(dataToml)), toml.Parser()) if err != nil { - log.Errorf("error loading file %s. Err:%v.FileData: %v", data.Name, err, dataToml) + log.Errorf("error loading file %s. Err:%v.", data.Name, err) return "", fmt.Errorf("fail to load converted template %s to toml. Err: %w", data.Name, err) } }