Log.Info($"The service '{serviceInfo.ServiceKey}' register endpoint: {serviceInfo.Endpoint}");
exists.Endpoints.Add(serviceInfo.Endpoint);
Log.Info($"The service '{serviceInfo.ServiceKey}' register endpoint: {endpoint}");
exists.Endpoints.Add(endpoint);
}
}
}
catch(Exceptionex)
{
Log.Error(ex,"Fault append service ({0} {1}) endpoint '{2}'",serviceInfo.ServiceKey,serviceInfo.Version,serviceInfo.Endpoint);
Log.Error(ex,"Fault append service ({0} {1}) endpoint '{2}'",serviceInfo.ServiceKey,serviceInfo.Version, endpoint);
result=InvokeResult.Fault(ex.Message);
}
finally
@ -212,7 +213,7 @@ namespace ZeroLevel.Discovery
}
else
{
result=InvokeResult.Fault($"Appending endpoint '{serviceInfo.Endpoint}' canceled for service {serviceInfo.ServiceKey} ({serviceInfo.Version}) because endpoind no avaliable");
result=InvokeResult.Fault($"Appending endpoint '{endpoint}' canceled for service {serviceInfo.ServiceKey} ({serviceInfo.Version}) because endpoind no avaliable");