smiklosovic commented on code in PR #2924:
URL: https://github.com/apache/cassandra/pull/2924#discussion_r1420358701


##########
src/java/org/apache/cassandra/transport/PreV5Handlers.java:
##########
@@ -327,6 +330,13 @@ public void exceptionCaught(final ChannelHandlerContext 
ctx, Throwable cause)
                 logger.debug("Excluding client exception for {}; address 
contained in client_error_reporting_exclusions", ctx.channel().remoteAddress(), 
cause);
                 return;
             }
+
+            if (Throwables.anyCauseMatches(cause, t -> t instanceof 
SSLException))
+            {
+                logger.warn("SSLException in client networking with peer {} 
{}", ctx.channel().remoteAddress(), cause.getMessage());

Review Comment:
   A new metric like this is pretty harmless, why not to add it? As Brandon 
said, a test is not strictly necessary. I am on the same page there. I think 
the PR is good as is. As I said on the ticket, I will try to build this in a 
foreseeable future.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to