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

heiming pushed a commit to branch wal_sonar_1.2
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit c3dd2c05243884b72fc03e40008298dd2bfc2db6
Author: HeimingZ <[email protected]>
AuthorDate: Sun Jun 25 09:30:33 2023 +0800

    fix
---
 server/src/main/java/org/apache/iotdb/db/tools/WalChecker.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/tools/WalChecker.java 
b/server/src/main/java/org/apache/iotdb/db/tools/WalChecker.java
index bc4f9247abf..9cef1d0d79d 100644
--- a/server/src/main/java/org/apache/iotdb/db/tools/WalChecker.java
+++ b/server/src/main/java/org/apache/iotdb/db/tools/WalChecker.java
@@ -18,7 +18,6 @@
  */
 package org.apache.iotdb.db.tools;
 
-import org.apache.iotdb.commons.exception.IllegalPathException;
 import org.apache.iotdb.commons.file.SystemFileFactory;
 import org.apache.iotdb.db.wal.buffer.WALEntry;
 import org.apache.iotdb.db.wal.buffer.WALEntryType;
@@ -98,7 +97,7 @@ public class WalChecker {
     } catch (FileNotFoundException e) {
       logger.debug("Wal file doesn't exist, skipping");
       return true;
-    } catch (IOException | IllegalPathException e) {
+    } catch (IOException e) {
       logger.error("{} fails the check because", walFile, e);
       return false;
     }

Reply via email to