We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9efa947 commit 0323aecCopy full SHA for 0323aec
opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexDatabase.java
@@ -487,17 +487,17 @@ public void update() throws IOException {
487
reader.close();
488
}
489
490
- } catch (RuntimeException ex) {
491
- LOGGER.log(Level.SEVERE,
492
- "Failed with unexpected RuntimeException", ex);
493
- throw ex;
494
- } finally {
+
495
try {
496
finishWriting();
497
} catch (IOException e) {
498
finishingException = e;
499
500
-
+ } catch (RuntimeException ex) {
+ LOGGER.log(Level.SEVERE,
+ "Failed with unexpected RuntimeException", ex);
+ throw ex;
+ } finally {
501
completer = null;
502
503
if (writer != null) {
0 commit comments