Skip to content

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
doom369 committed Feb 22, 2016
1 parent b85273f commit 96e0446
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ public DBManager(String propsFilename) {
ServerProperties serverProperties;
try {
serverProperties = new ServerProperties(propsFilename);
if (serverProperties.size() == 0) {
throw new RuntimeException();
}
} catch (RuntimeException e) {
log.warn("No {} file found. Separate DB storage disabled.", propsFilename);
this.ds = null;
Expand Down

0 comments on commit 96e0446

Please sign in to comment.