Beyyes commented on a change in pull request #31: Fix sonar
URL: https://github.com/apache/incubator-iotdb/pull/31#discussion_r251008541
 
 

 ##########
 File path: 
iotdb/src/main/java/org/apache/iotdb/db/query/control/FileReaderManager.java
 ##########
 @@ -87,7 +87,7 @@ private void clearUnUsedFilesInFixTime() {
             try {
               reader.close();
             } catch (IOException e) {
-              LOGGER.error("Can not close TsFileSequenceReader {} !", 
reader.getFileName());
+              LOGGER.error("Can not close TsFileSequenceReader {} !", 
reader.getFileName() + ": " + e);
 
 Review comment:
   No need to use ":"
   use `{}` in logger is better.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to