From 15be7111ec545ea5588dea9b82e3ebc423f57231 Mon Sep 17 00:00:00 2001 From: Olga Maciaszek-Sharma Date: Fri, 17 May 2019 10:53:05 +0200 Subject: [PATCH] Upgrade openfeign to 10.2.3 and feign-form to 3.8.0. (#185) Fixes gh-143. --- .../cloud/openfeign/support/SpringDecoder.java | 2 +- spring-cloud-openfeign-dependencies/pom.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 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 77bd0ede..0a79a47e 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 @@ -58,7 +58,7 @@ public class SpringDecoder implements Decoder { return extractor.extractData(new FeignResponseAdapter(response)); } - throw new DecodeException( + throw new DecodeException(response.status(), "type is not an instance of Class or ParameterizedType: " + type); } diff --git a/spring-cloud-openfeign-dependencies/pom.xml b/spring-cloud-openfeign-dependencies/pom.xml index 4adba506..ded45e40 100644 --- a/spring-cloud-openfeign-dependencies/pom.xml +++ b/spring-cloud-openfeign-dependencies/pom.xml @@ -15,8 +15,8 @@ spring-cloud-openfeign-dependencies Spring Cloud OpenFeign Dependencies - 10.1.0 - 3.5.0 + 10.2.3 + 3.8.0