aloyszhang commented on code in PR #10891:
URL: https://github.com/apache/inlong/pull/10891#discussion_r1731158238


##########
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/file/FileUtils.java:
##########
@@ -68,7 +68,7 @@ public static long getFileLastModifyTime(String fileName) {
         try {
             lastModify = 
Files.getLastModifiedTime(Paths.get(fileName)).toMillis();
         } catch (IOException e) {
-            LOGGER.error("getFileLastModifyTime error {}", e.getMessage());
+            LOGGER.error("getFileLastModifyTime error {}", e);

Review Comment:
   ```suggestion
               LOGGER.error("getFileLastModifyTime error.", e);
   ```



-- 
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: commits-unsubscr...@inlong.apache.org

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

Reply via email to