Skip to content

Commit

Permalink
Do not throw exception if configuration cannot be read
Browse files Browse the repository at this point in the history
  • Loading branch information
derTobsch committed Sep 7, 2023
1 parent 4919008 commit c2a714e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ private void readPropertiesFromURL(Properties properties, String strURL) {
inputStream = configURL.openStream();
properties.load(inputStream);
} catch (Exception e) {
LOG.warn("Cannot read configuration from '{}'.", strURL, e);
LOG.warn("Cannot read configuration from '{}' with message '{}'.", strURL, e.getMessage());
} finally {
closeStreamFromURL(strURL, inputStream);
}
Expand Down

0 comments on commit c2a714e

Please sign in to comment.