mirror of
https://github.com/i2p/i2p.i2p.git
synced 2026-10-22 13:12:15 +00:00
Better message on su3 certificate errors
This commit is contained in:
1 parent
483f043d3c
commit
3adbea9c76
1 file changed
+2
-2
@@ -324,7 +324,7 @@ public class SU3File {
|
||||
try {
|
||||
_signerPubkey = ring.getKey(_signer, _contentType.getName(), _sigType);
|
||||
} catch (GeneralSecurityException gse) {
|
||||
IOException ioe = new IOException("keystore error");
|
||||
IOException ioe = new IOException("Certificate error for " + _signer + ": " + gse);
|
||||
ioe.initCause(gse);
|
||||
throw ioe;
|
||||
}
|
||||
@@ -338,7 +338,7 @@ public class SU3File {
|
||||
try {
|
||||
_signerPubkey = ring.getKey(_signer, _contentType.getName(), _sigType);
|
||||
} catch (GeneralSecurityException gse) {
|
||||
IOException ioe = new IOException("keystore error");
|
||||
IOException ioe = new IOException("Certificate error for " + _signer + ": " + gse);
|
||||
ioe.initCause(gse);
|
||||
throw ioe;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user