should return when error

This commit is contained in:
Tom Gardham-Pallister 2017-11-29 08:19:46 +00:00
parent c1db76de29
commit 868fada01f

View File

@ -42,6 +42,7 @@ namespace Ocelot.DownstreamRouteFinder.Middleware
{
_logger.LogError($"{MiddlewareName} setting pipeline errors. IOcelotConfigurationProvider returned {configuration.Errors.ToErrorString()}");
SetPipelineError(configuration.Errors);
return;
}
SetServiceProviderConfigurationForThisRequest(configuration.Data.ServiceProviderConfiguration);