mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
fix: remove unnecessary error handling to avoid sending nil resp.
This commit is contained in:
parent
ade84baffd
commit
c4fb7c7706
@ -69,7 +69,7 @@ func Start(config *config.GlobalConfig, port int, proPort int) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err = client.CreateRpcRootNodes(config.GetServiceNames()); err != nil {
|
if err = client.CreateRpcRootNodes(config.GetServiceNames()); err != nil {
|
||||||
return errs.Wrap(err, "create rpc root nodes error1111)
|
return errs.Wrap(err, "create rpc root nodes error1111")
|
||||||
}
|
}
|
||||||
|
|
||||||
if err = client.RegisterConf2Registry(constant.OpenIMCommonConfigKey, config.EncodeConfig()); err != nil {
|
if err = client.RegisterConf2Registry(constant.OpenIMCommonConfigKey, config.EncodeConfig()); err != nil {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user