fix create errors and log
This commit is contained in:
1 parent
c46003d882
commit
fcc57459ef
2 files changed
+4
-3
No files matched your search
+2
-1
@@ -79,7 +79,8 @@ func InitProxiesFromConfigs(configs structure.RoutingConfig) error {
|
||||
for protocol, info := range config.HandlersInfo {
|
||||
p, err := makeProxy(protocol, info.SkipAuth, info.SkipExistCheck)
|
||||
if err != nil {
|
||||
return fmt.Errorf("%v bad dynamic config in service %s with protocol %s", err, config.ModuleName, protocol)
|
||||
errMsg := fmt.Sprintf("%v bad dynamic config in service %s with protocol %s", err, config.ModuleName, protocol)
|
||||
return errors.New(errMsg)
|
||||
}
|
||||
addressConfig := []structure.AddressConfiguration{{
|
||||
Port: info.Port,
|
||||
|
||||
Reference in new issue
Block a user