You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by hx...@apache.org on 2020/02/18 15:03:28 UTC

[incubator-iotdb] 02/02: for debug

This is an automated email from the ASF dual-hosted git repository.

hxd pushed a commit to branch ut_close_socket
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 207daa47821b54a7950c77ec9eab3f4b7aab1932
Author: xiangdong huang <sa...@gmail.com>
AuthorDate: Tue Feb 18 23:03:08 2020 +0800

    for debug
---
 server/src/main/java/org/apache/iotdb/db/utils/FileUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/utils/FileUtils.java b/server/src/main/java/org/apache/iotdb/db/utils/FileUtils.java
index e851e2b..435daa0 100644
--- a/server/src/main/java/org/apache/iotdb/db/utils/FileUtils.java
+++ b/server/src/main/java/org/apache/iotdb/db/utils/FileUtils.java
@@ -42,7 +42,7 @@ public class FileUtils {
       Files.delete(folder.toPath());
     } catch (NoSuchFileException | DirectoryNotEmptyException e) {
       logger.warn("{}: {}", e.getMessage(), Arrays.toString(folder.list()), e);
-    } catch (IOException | SecurityException e) {
+    } catch (Exception e) {
       logger.warn("{}: {}", e.getMessage(), folder.getName(), e);
     }
   }