Skip to content

Commit

Permalink
Throw exception when clearSharedStore() has failed
Browse files Browse the repository at this point in the history
  • Loading branch information
DifferentSC committed Jul 13, 2018
1 parent 6975c95 commit 3104cab
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,7 @@ public byte[] call(final byte[] memento) throws Exception {
masterSetupFinished.setFinished();
// Clear the shared store when the master is initiated for the first time.
if (!sharedStoreManager.clearSharedStore()) {
LOG.log(Level.SEVERE, "Cannot clear the shared store.. shutting down MIST...");
return null;
throw new RuntimeException("Cannot clear the shared store.. shutting down MIST...");
}
} else {
applicationCodeManager.recoverAppJarInfo();
Expand Down

0 comments on commit 3104cab

Please sign in to comment.