Skip to content

Commit

Permalink
Remove the SecureVault exception handling issue, getMessage()
Browse files Browse the repository at this point in the history
  • Loading branch information
ksdperera committed Sep 11, 2018
1 parent dbfd48f commit ff567a8
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@ public void start(BundleContext bundleContext) throws Exception {
"secure vault configuration.")));
logger.debug("Secure vault config successfully initialized");
} catch (Throwable throwable) {
logger.error("Error occurred when initializing secure vault " + throwable.getMessage(),
throwable);
throw new SecureVaultException("Error occurred when initializing secure vault " + throwable.getMessage(),
throwable);
logger.error("Error occurred when initializing secure vault.", throwable);
throw new SecureVaultException("Error occurred when initializing secure vault.", throwable);
}
}

Expand Down

0 comments on commit ff567a8

Please sign in to comment.