SUPPORT-8381: add logging
This commit is contained in:
parent
9a79327fea
commit
51635810a7
1 changed files with 1 additions and 0 deletions
|
|
@ -43,6 +43,7 @@ public class EmployeeInfoWebDavClient {
|
|||
.PUT(HttpRequest.BodyPublishers.ofByteArray(multipartFile.getBytes())).build();
|
||||
HttpResponse<String> response = httpClientBuilder.build()
|
||||
.send(httpRequest, HttpResponse.BodyHandlers.ofString());
|
||||
logger.debug("Response starus code: {}", response.statusCode());
|
||||
return (response.statusCode() >= 200) && (response.statusCode() <= 202);
|
||||
}
|
||||
catch (IOException | InterruptedException e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue