mirror of https://github.com/apache/lucene.git
LUCENE-8205: Rethrow even if no inner exception happens
This commit is contained in:
parent
143b6135a5
commit
f2a45790f6
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue