Skip to content

Commit

Permalink
Fixed wrong status code method call
Browse files Browse the repository at this point in the history
  • Loading branch information
marcingrzejszczak committed Sep 19, 2022
1 parent 5023b05 commit 9372799
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public KeyValues getLowCardinalityKeyValues(FeignContext context) {
}

String getStatusValue(@Nullable Response response) {
return response != null ? response.reason() : "CLIENT_ERROR";
return response != null ? String.valueOf(response.status()) : "CLIENT_ERROR";
}

String getMethodString(@Nullable RequestTemplate request) {
Expand Down

0 comments on commit 9372799

Please sign in to comment.