Skip to content

Commit

Permalink
Version jump
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidCroftDKFZ committed Nov 6, 2024
1 parent 15cd9b5 commit 81452f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>de.samply</groupId>
<artifactId>directory_sync_service</artifactId>
<version>1.4.8</version>
<version>1.5.0</version>
<name>directory_sync_service</name>
<description>Directory sync</description>
<url>https://github.com/samply/directory_sync_service</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ protected String executeRequest(HttpUriRequest request) {
CloseableHttpResponse response = httpClient.execute(request);
if (response.getStatusLine().getStatusCode() < 300) {
HttpEntity httpEntity = response.getEntity();
if (httpEntity == null)
logger.warn("executeRequest: entity is null" );
result = EntityUtils.toString(httpEntity);
} else if (response.getStatusLine().getStatusCode() == 404) {
logger.warn("executeRequest: entity get HTTP error (not found): URI: " + request.getURI().toString() + ", error: " + response.getStatusLine().getStatusCode());
Expand Down

0 comments on commit 81452f3

Please sign in to comment.