This commit is contained in:
malkoas 2022-10-25 15:01:04 +03:00
parent 9b4064375f
commit 0d2345eed7

View File

@ -29,7 +29,7 @@ public class WachterClient {
log.info("Send request to url {}", url); log.info("Send request to url {}", url);
HttpResponse response = httpclient.execute(httppost); HttpResponse response = httpclient.execute(httppost);
HttpEntity httpEntity = response.getEntity(); HttpEntity httpEntity = response.getEntity();
log.info("Get response with entity: {}", httpEntity); log.info("Get response with entity: {} and statusLine {}", httpEntity, response.getStatusLine());
return EntityUtils.toByteArray(httpEntity); return EntityUtils.toByteArray(httpEntity);
} }