diff --git a/lucene/core/src/java/org/apache/lucene/index/DocumentsWriter.java b/lucene/core/src/java/org/apache/lucene/index/DocumentsWriter.java index af07623e328..dffee8be5a1 100644 --- a/lucene/core/src/java/org/apache/lucene/index/DocumentsWriter.java +++ b/lucene/core/src/java/org/apache/lucene/index/DocumentsWriter.java @@ -737,8 +737,8 @@ final class DocumentsWriter implements Closeable, Accountable { writer.onTragicEvent(t, "applyUpdatesPacket"); } catch (Throwable t1) { t.addSuppressed(t1); - throw t; } + throw t; } writer.flushDeletesCount.incrementAndGet(); }