LUCENE-8205: Rethrow even if no inner exception happens

This commit is contained in:
Simon Willnauer 2018-03-15 15:44:17 +01:00
parent 143b6135a5
commit f2a45790f6
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}