jt2594838 commented on a change in pull request #25: Fix sonar
URL: https://github.com/apache/incubator-iotdb/pull/25#discussion_r250490189
 
 

 ##########
 File path: 
iotdb/src/main/java/org/apache/iotdb/db/postback/sender/FileSenderImpl.java
 ##########
 @@ -491,7 +491,11 @@ public void postback() {
       if (new File(snapshotPath).exists() && new 
File(snapshotPath).list().length != 0) {
         // it means that the last task of postback does not succeed! Clear the 
files and
         // start to postback again
-        PostbackUtils.deleteFile(new File(snapshotPath));
+        try {
+          PostbackUtils.deleteFile(new File(snapshotPath));
+        } catch (IOException e) {
+          e.printStackTrace();
 
 Review comment:
   printStackTrace?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to