From 295ad6793c96d7f7720d08089103814148633750 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Toni=20Ram=C3=ADrez?= <58293609+ToniRamirezM@users.noreply.github.com> Date: Fri, 17 Jan 2025 17:01:22 +0100 Subject: [PATCH] feat: do not print content on config error log (#268) --- 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 10a0a673..ac251d30 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) } }