Skip to content

Commit 01b0eb2

Browse files
committed
Address review comments.
1 parent 8902dbd commit 01b0eb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ public synchronized Status verifyAuthority(@Nonnull String authority) {
632632
} catch (SSLPeerUnverifiedException | CertificateException e) {
633633
peerVerificationStatus = Status.UNAVAILABLE.withDescription(
634634
String.format("Peer hostname verification failed for authority '%s'",
635-
authority));
635+
authority)).withCause(e);
636636
}
637637
peerVerificationResults.put(authority, peerVerificationStatus);
638638
return peerVerificationStatus;

0 commit comments

Comments
 (0)