mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-09-19 00:32:42 +08:00
#603 return 502 when request cannot be completed
This commit is contained in:
@@ -42,7 +42,7 @@ namespace Ocelot.Responder
|
||||
|
||||
if (errors.Any(e => e.Code == OcelotErrorCode.UnableToCompleteRequestError))
|
||||
{
|
||||
return 500;
|
||||
return 502;
|
||||
}
|
||||
|
||||
return 404;
|
||||
|
Reference in New Issue
Block a user