diff --git a/parser/parser.go b/parser/parser.go index 4533314..d22bb45 100644 --- a/parser/parser.go +++ b/parser/parser.go @@ -60,7 +60,7 @@ func (cfr *ConfigurationFileReplacement) UnmarshalJSON(data []byte) error { } else { if dt != jsonparser.String && dt != jsonparser.Number && dt != jsonparser.Boolean { return errors.New( - fmt.Sprintf("cannot parse JSON: received unexpected replacement value type: %d", dt), + fmt.Sprintf("cannot parse JSON: received unexpected replacement value type: %s", dt.String()), ) }