diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendEntryIterator.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendEntryIterator.java index 3dfceb116c..151b7fa8a7 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendEntryIterator.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/BackendEntryIterator.java @@ -123,7 +123,7 @@ protected final boolean reachLimit(long count) { } catch (Throwable e) { try { this.close(); - } catch (Exception ex) { + } catch (Throwable ex) { LOG.warn("Failed to close backend entry iterator for interrupted query", ex); } throw e;