Skip to content

Commit

Permalink
feat: do not print content on config error log (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
ToniRamirezM committed Jan 17, 2025
1 parent 4c9af9c commit 295ad67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config_render.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit 295ad67

Please sign in to comment.