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 21, 2022
1 parent e23a805 commit 97b23e9
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 97b23e9

Please sign in to comment.