Merge pull request #590 from stefanneuhaus/cleanup

Cleanup
This commit is contained in:
Jeremy Long
2016-10-08 22:07:49 -04:00
committed by GitHub
8 changed files with 20 additions and 17 deletions

View File

@@ -370,8 +370,11 @@ public final class Settings {
try {
in = this.getClass().getClassLoader().getResourceAsStream(propertiesFilePath);
props.load(in);
} catch (NullPointerException ex) {
LOGGER.error("Did not find settings file '{}'.", propertiesFilePath);
LOGGER.debug("", ex);
} catch (IOException ex) {
LOGGER.error("Unable to load default settings.");
LOGGER.error("Unable to load settings from '{}'.", propertiesFilePath);
LOGGER.debug("", ex);
} finally {
if (in != null) {