Open BartoszMiller opened 1 month ago
Yes. It looks like a bug.
Hey @gromspys, I want to work around feign and learn about it. Do we need to change the constructor params since it expects the response body as byte[] and response? getBody() is a String in nature.
What do you think we can do here?
I wanted to retrieve response body from a FeignException, but
FeignException::responseBody()
returns request body of my request. Is it intentional or is it a bug? One of the FeignException constructors, as the parameter name implies, expects response body. However, in theerrorReading
methodrequest.body()
is passed instead.