Skip to content

Commit

Permalink
Add warn message on IOException on StreamRepositoryService
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jan 26, 2024
1 parent 28b253a commit 93900dc
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public InputStream getInputStream(final String uriString) {
this.httpRequestFactory.createRequest(uri, HttpMethod.GET).execute();
return new ResponseClosingStream(response);
} catch (IOException e) {
LOGGER.warn(
"Error on getting resource '{}', this will no more allowed in version 3.31", uriString, e
);
return null;
}
}
Expand Down

0 comments on commit 93900dc

Please sign in to comment.