Skip to content

Commit

Permalink
Log reason when file key store is not accessible
Browse files Browse the repository at this point in the history
  • Loading branch information
rfc2822 committed Nov 7, 2015
1 parent 9e30ffd commit b6a3d55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/de/duenndns/ssl/MemorizingTrustManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -327,13 +327,13 @@ KeyStore loadAppKeyStore() {
is = new java.io.FileInputStream(keyStoreFile);
ks.load(is, "MTM".toCharArray());
} catch (NoSuchAlgorithmException | CertificateException | IOException e) {
LOGGER.log(Level.INFO, "getAppKeyStore(" + keyStoreFile + ") - exception loading file key store");
LOGGER.log(Level.INFO, "getAppKeyStore(" + keyStoreFile + ") - exception loading file key store", e);
} finally {
if (is != null) {
try {
is.close();
} catch (IOException e) {
LOGGER.log(Level.FINE, "getAppKeyStore(" + keyStoreFile + ") - exception closing file key store input stream");
LOGGER.log(Level.FINE, "getAppKeyStore(" + keyStoreFile + ") - exception closing file key store input stream", e);
}
}
}
Expand Down

0 comments on commit b6a3d55

Please sign in to comment.