Fixed error message when reroute configuration is not found #650 (#698)

This commit is contained in:
Ruben Mamo 2018-12-17 20:37:35 +01:00 committed by Tom Pallister
parent 44209e97be
commit 37efe354ca

View File

@ -5,7 +5,7 @@ namespace Ocelot.DownstreamRouteFinder.Finder
public class UnableToFindDownstreamRouteError : Error
{
public UnableToFindDownstreamRouteError(string path, string httpVerb)
: base($"Unable to find downstream route for path: {path}, verb: {httpVerb}", OcelotErrorCode.UnableToFindDownstreamRouteError)
: base($"Failed to match ReRoute configuration for upstream path: {path}, verb: {httpVerb}.", OcelotErrorCode.UnableToFindDownstreamRouteError)
{
}
}