实现错误解码器,保留 feign 服务异常信息,左侧是之前设计的。偶尔下游系统出现异常时,拿到返回结果时,居然会是stream is closed,就找了下原因。
Don't use any of the above feature before get the response.body()
就是因为使用log来输出日志,内部关闭了输入流。
实现错误解码器,保留 feign 服务异常信息,左侧是之前设计的。偶尔下游系统出现异常时,拿到返回结果时,居然会是stream is closed,就找了下原因。
Don't use any of the above feature before get the response.body()
就是因为使用log来输出日志,内部关闭了输入流。