aloyszhang commented on code in PR #10891:
URL: https://github.com/apache/inlong/pull/10891#discussion_r1731157905
##########
inlong-agent/agent-common/src/main/java/org/apache/inlong/agent/utils/file/FileUtils.java:
##########
@@ -58,7 +58,7 @@ public static long getFileCreationTime(String fileName) {
creationTime = Files.readAttributes(Paths.get(fileName),
BasicFileAttributes.class).creationTime()
.toMillis();
} catch (IOException e) {
- LOGGER.error("getFileCreationTime error {}", e.getMessage());
+ LOGGER.error("getFileCreationTime error {}", e);
Review Comment:
```suggestion
LOGGER.error("getFileCreationTime 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]