hudi-agent commented on code in PR #19184:
URL: https://github.com/apache/hudi/pull/19184#discussion_r3523507695


##########
hudi-spark-datasource/hudi-spark/src/test/java/org/apache/hudi/client/functional/TestDataValidationCheckForLogCompactionActions.java:
##########
@@ -195,7 +195,7 @@ private boolean writeOnMainTable(TestTableContents 
mainTable, int curr) throws I
           result = deleteDataIntoMainTable(mainTable, commitTime);
         }
       } catch (IllegalArgumentException e) {
-        LOG.warn(e.getMessage() + " ignoring current command.");
+        LOG.warn("{} ignoring current command.", e.getMessage());

Review Comment:
   🤖 nit: using the exception message as the leading `{}` makes this log line 
variable and hard to grep for; something like `LOG.warn("Ignoring current 
command.", e)` would keep the message stable and still surface the full 
exception detail.
   
   <sub><i>⚠️ AI-generated; verify before applying. React 👍/👎 to flag 
quality.</i></sub>



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

Reply via email to