diff --git a/core/mapping/unmarshaler.go b/core/mapping/unmarshaler.go index 1e1f2e67..982d69e5 100644 --- a/core/mapping/unmarshaler.go +++ b/core/mapping/unmarshaler.go @@ -223,11 +223,11 @@ func (u *Unmarshaler) fillSliceFromString(fieldType reflect.Type, value reflect. switch v := mapValue.(type) { case fmt.Stringer: if err := jsonx.UnmarshalFromString(v.String(), &slice); err != nil { - return err + return fmt.Errorf("fullName: `%s`, error: `%w`", fullName, err) } case string: if err := jsonx.UnmarshalFromString(v, &slice); err != nil { - return err + return fmt.Errorf("fullName: `%s`, error: `%w`", fullName, err) } default: return errUnsupportedType