You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pr@cassandra.apache.org by "frankgh (via GitHub)" <gi...@apache.org> on 2023/07/11 21:01:39 UTC

[GitHub] [cassandra-sidecar] frankgh commented on a diff in pull request #60: CASSANDRASC-64: File descriptor is not being closed on MD5 checksum

frankgh commented on code in PR #60:
URL: https://github.com/apache/cassandra-sidecar/pull/60#discussion_r1260278189


##########
src/main/java/org/apache/cassandra/sidecar/utils/HttpExceptions.java:
##########
@@ -54,7 +54,7 @@ public static HttpException cassandraServiceUnavailable()
      */
     public static HttpException wrapHttpException(HttpResponseStatus status, Throwable cause)
     {
-        return wrapHttpException(status, null, cause);
+        return wrapHttpException(status, cause != null ? cause.getMessage() : null, cause);

Review Comment:
   makes sense, I have addressed this feedback. Thanks



-- 
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: pr-unsubscribe@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscribe@cassandra.apache.org
For additional commands, e-mail: pr-help@cassandra.apache.org