Skip to content

Commit

Permalink
opt:Error message for optimizing mapping data method (#4570)
Browse files Browse the repository at this point in the history
  • Loading branch information
R1aEnKK authored Jan 14, 2025
1 parent 12071d1 commit f05234a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/conf/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func buildFieldsInfo(tp reflect.Type, fullName string) (*fieldInfo, error) {
case reflect.Array, reflect.Slice, reflect.Map:
return buildFieldsInfo(mapping.Deref(tp.Elem()), fullName)
case reflect.Chan, reflect.Func:
return nil, fmt.Errorf("unsupported type: %s", tp.Kind())
return nil, fmt.Errorf("unsupported type: %s,fullName: %s", tp.Kind(), fullName)
default:
return &fieldInfo{
children: make(map[string]*fieldInfo),
Expand Down

0 comments on commit f05234a

Please sign in to comment.