From eecc51e69534385a8d8cf5ee9b20c88d7fd39139 Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Tue, 17 Sep 2019 17:18:05 -0400 Subject: [PATCH] Upgrade to OpenFeign 10.4.0. Fixes #220 --- .../springframework/cloud/openfeign/support/SpringDecoder.java | 3 ++- spring-cloud-openfeign-dependencies/pom.xml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SpringDecoder.java b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SpringDecoder.java index 0a79a47e..13348364 100644 --- a/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SpringDecoder.java +++ b/spring-cloud-openfeign-core/src/main/java/org/springframework/cloud/openfeign/support/SpringDecoder.java @@ -59,7 +59,8 @@ public class SpringDecoder implements Decoder { return extractor.extractData(new FeignResponseAdapter(response)); } throw new DecodeException(response.status(), - "type is not an instance of Class or ParameterizedType: " + type); + "type is not an instance of Class or ParameterizedType: " + type, + response.request()); } private final class FeignResponseAdapter implements ClientHttpResponse { diff --git a/spring-cloud-openfeign-dependencies/pom.xml b/spring-cloud-openfeign-dependencies/pom.xml index bc77a3c3..84eecc97 100644 --- a/spring-cloud-openfeign-dependencies/pom.xml +++ b/spring-cloud-openfeign-dependencies/pom.xml @@ -15,7 +15,7 @@ spring-cloud-openfeign-dependencies Spring Cloud OpenFeign Dependencies - 10.2.3 + 10.4.0 3.8.0