diff --git a/core/conf/config.go b/core/conf/config.go index 309ea4e9..8d438286 100644 --- a/core/conf/config.go +++ b/core/conf/config.go @@ -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),