Revert "Print response from http call to keycloak server"

This reverts commit a4cb23ac92ad95c3d06586b1c6ed7f4ccdef165e.
This commit is contained in:
yaokai2 2022-08-29 12:59:19 +08:00 committed by Pedro Igor
parent fb57d1972f
commit df1384f2c6

View file

@ -92,7 +92,7 @@ public class HttpMethod<R> {
int statusCode = statusLine.getStatusCode(); int statusCode = statusLine.getStatusCode();
if (statusCode < 200 || statusCode >= 300) { if (statusCode < 200 || statusCode >= 300) {
throw new HttpResponseException("Unexpected response from server: " + statusCode + " / " + statusLine.getReasonPhrase() + " Response : " + new String(bytes), statusCode, statusLine.getReasonPhrase(), bytes); throw new HttpResponseException("Unexpected response from server: " + statusCode + " / " + statusLine.getReasonPhrase(), statusCode, statusLine.getReasonPhrase(), bytes);
} }
if (bytes == null) { if (bytes == null) {