Skip to content

Commit ccfc3b5

Browse files
author
Vladimir Kotal
committed
print index directory on exception
1 parent 3db691b commit ccfc3b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/index/IndexDatabase.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,9 @@ public void run() {
226226
try {
227227
db.update(parallelizer);
228228
} catch (Throwable e) {
229-
LOGGER.log(Level.SEVERE, "Problem updating lucene index database: ", e);
229+
LOGGER.log(Level.SEVERE,
230+
String.format("Problem updating index database in directory %s: ",
231+
db.indexDirectory.getDirectory()), e);
230232
}
231233
}
232234
});

0 commit comments

Comments
 (0)