diff --git a/core/src/main/java/org/eclipse/angus/mail/util/SocketFetcher.java b/core/src/main/java/org/eclipse/angus/mail/util/SocketFetcher.java index afe0701..5668be1 100644 --- a/core/src/main/java/org/eclipse/angus/mail/util/SocketFetcher.java +++ b/core/src/main/java/org/eclipse/angus/mail/util/SocketFetcher.java @@ -1048,11 +1048,11 @@ public boolean verify(String server, SSLSession ssls) { } catch (CertificateParsingException ignore) { logger.log(Level.FINEST, server, ignore); } catch (IOException spue) { - throw new UncheckedIOException(spue); + throw new UncheckedIOException(toString() + " DENY", spue); } if (cert == null) { - throw new UncheckedIOException( + throw new UncheckedIOException(toString() + " DENY", new SSLPeerUnverifiedException("null")); }