mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-22 18:22:49 +08:00
should return when error
This commit is contained in:
parent
c1db76de29
commit
868fada01f
@ -42,6 +42,7 @@ namespace Ocelot.DownstreamRouteFinder.Middleware
|
|||||||
{
|
{
|
||||||
_logger.LogError($"{MiddlewareName} setting pipeline errors. IOcelotConfigurationProvider returned {configuration.Errors.ToErrorString()}");
|
_logger.LogError($"{MiddlewareName} setting pipeline errors. IOcelotConfigurationProvider returned {configuration.Errors.ToErrorString()}");
|
||||||
SetPipelineError(configuration.Errors);
|
SetPipelineError(configuration.Errors);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
SetServiceProviderConfigurationForThisRequest(configuration.Data.ServiceProviderConfiguration);
|
SetServiceProviderConfigurationForThisRequest(configuration.Data.ServiceProviderConfiguration);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user