Hean-Chhinling commented on code in PR #8544:
URL: https://github.com/apache/hadoop/pull/8544#discussion_r3389244233


##########
hadoop-tools/hadoop-azure/src/main/java/org/apache/hadoop/fs/azurebfs/services/AbfsClient.java:
##########
@@ -1180,7 +1180,7 @@ protected String appendSASTokenToQuery(String path,
       } catch (Exception ex) {
         throw new SASTokenProviderException(String.format(
             "Failed to acquire a SAS token for %s on %s due to %s", operation, 
path,
-            ex.toString()));
+            ex.toString()), ex);

Review Comment:
   What about deleting the `ex.toString()` and throw only `ex`? 
   I think it is redundant to throw both of them



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