<!-- If you need to report a security issue please visit https://github.com/apache/dubbo/security/policy -->

- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.

ReferenceConfig throw IllegalStateException when check failed, but consumerModel is still registered.
continue;
                    }
                    
                    
                    if (overrideAll) {
                        oldMap.forEach(newMap::putIfAbsent);
                    } else {
                        newMap.putAll(oldMap);
                    }
                    invokeSetParameters(newMap, this);
                } else if (isNestedSetter(this, method)) {
                    
                }
            } catch (Throwable t) {
                logger.error("Failed to override field value of config bean: " + this, t);
                throw new IllegalStateException("Failed to override field value of config bean: " + this, t);
            }
        }
    }
    /**
     * Dubbo config property override
     */
    public void refresh() {
        refreshed.set(true);
        try {
            
            preProcessRefresh();
            Environment environment = getScopeModel().getModelEnvironment();
            List<Map<String, String>> configurationMaps = environment.getConfigurationMaps();