#603 return 502 when request cannot be completed

This commit is contained in:
jlukawska
2019-11-22 08:01:02 +01:00
parent f15e3a9acf
commit f35a07a3da
4 changed files with 36 additions and 4 deletions

View File

@ -42,7 +42,7 @@ namespace Ocelot.Responder
if (errors.Any(e => e.Code == OcelotErrorCode.UnableToCompleteRequestError))
{
return 500;
return 502;
}
return 404;