Skip to content

Commit

Permalink
Print response from http call to keycloak server
Browse files Browse the repository at this point in the history
  • Loading branch information
yaokai2 authored and pedroigor committed Aug 30, 2022
1 parent 1cdc21f commit fb57d19
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public R execute(HttpResponseProcessor<R> responseProcessor) {
int statusCode = statusLine.getStatusCode();

if (statusCode < 200 || statusCode >= 300) {
throw new HttpResponseException("Unexpected response from server: " + statusCode + " / " + statusLine.getReasonPhrase(), statusCode, statusLine.getReasonPhrase(), bytes);
throw new HttpResponseException("Unexpected response from server: " + statusCode + " / " + statusLine.getReasonPhrase() + " Response : " + new String(bytes), statusCode, statusLine.getReasonPhrase(), bytes);
}

if (bytes == null) {
Expand Down

0 comments on commit fb57d19

Please sign in to comment.