diff --git a/config/config_loader.go b/config/config_loader.go index b9195aec3fb6e04357b280013fdf2d25ae9cddea..d5f8c68c1bf35c40c09d7d15bae4b6b9f161e9e7 100644 --- a/config/config_loader.go +++ b/config/config_loader.go @@ -148,9 +148,9 @@ func loadConsumerConfig() { checkok = false count++ if count > maxWait { - // errMsg := fmt.Sprintf("Failed to check the status of the service %v . No provider available for the service to the consumer use dubbo version %v", refconfig.InterfaceName, constant.Version) - // logger.Error(errMsg) - // panic(errMsg) + errMsg := fmt.Sprintf("Failed to check the status of the service %v . No provider available for the service to the consumer use dubbo version %v", refconfig.InterfaceName, constant.Version) + logger.Error(errMsg) + panic(errMsg) } time.Sleep(time.Second * 1) break