skoppu22 commented on code in PR #366:
URL: https://github.com/apache/cassandra-sidecar/pull/366#discussion_r3438150041


##########
server/src/main/java/org/apache/cassandra/sidecar/handlers/sstableuploads/SSTableImportHandler.java:
##########
@@ -149,7 +149,7 @@ protected void processFailure(Throwable cause,
         {
             logger.error("Upload directory not found for request={}, 
remoteAddress={}, " +
                          "instance={}", request, remoteAddress, host, cause);
-            context.fail(wrapHttpException(HttpResponseStatus.NOT_FOUND, 
cause.getMessage()));
+            context.fail(wrapHttpException(HttpResponseStatus.NOT_FOUND, 
"SSTable could not be uploaded to desired upload location. " + request));

Review Comment:
   [minor] message can be in similar lines to above logger.error message - 
'"Upload directory not found ...'



-- 
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