提交 e4c5c710 编写于 作者: J Jesse Glick

Misleading error message.

上级 ac3a5c57
......@@ -106,7 +106,7 @@ public class DefaultConfidentialStore extends ConfidentialStore {
byte[] bytes = IOUtils.toByteArray(cis);
return verifyMagic(bytes);
} catch (GeneralSecurityException e) {
throw new IOException("Failed to persist the key: "+key.getId(),e);
throw new IOException("Failed to load the key: "+key.getId(),e);
} finally {
IOUtils.closeQuietly(cis);
IOUtils.closeQuietly(fis);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册