Skip to content

Commit

Permalink
Fixes load dump exception catching.
Browse files Browse the repository at this point in the history
  • Loading branch information
e.shevchenko committed Oct 8, 2018
1 parent e07f968 commit abe3201
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/ethercamp/harmony/Application.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ private static void loadDumpAndExit(SystemProperties config, Path path) {
Matcher matcher = pattern.matcher(fileName);
return matcher.matches() ? toInt(matcher.group(2)) : 0;
}))

.toArray(Path[]::new);
} else {
paths = new Path[]{path};
Expand All @@ -117,7 +116,7 @@ private static void loadDumpAndExit(SystemProperties config, Path path) {
loaded = factory.isPresent()
? blockLoader.loadBlocks(factory.get(), paths)
: blockLoader.loadBlocks(paths);
} catch (IOException e) {
} catch (Exception e) {
e.printStackTrace();
}

Expand Down

0 comments on commit abe3201

Please sign in to comment.