Closed gmauricio closed 4 years ago
Currently, the proxy policy will just return a text/plain "Bad Gateway." response whenever there's a proxy error, as reported here https://github.com/ExpressGateway/express-gateway/issues/692
This is a proposal of a way to customize error responses, so you can pass an errorAction option to modify the response body and headers when the proxy errors.
errorAction
Currently, the proxy policy will just return a text/plain "Bad Gateway." response whenever there's a proxy error, as reported here https://github.com/ExpressGateway/express-gateway/issues/692
This is a proposal of a way to customize error responses, so you can pass an
errorAction
option to modify the response body and headers when the proxy errors.