mirror of https://github.com/apache/lucene.git
message (to infoStream) when a merge exception is handled
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@765663 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f5831d86ae
commit
33f6b48d1a
|
@ -4328,6 +4328,11 @@ public class IndexWriter {
|
|||
}
|
||||
|
||||
final private void handleMergeException(Throwable t, MergePolicy.OneMerge merge) throws IOException {
|
||||
|
||||
if (infoStream != null) {
|
||||
message("handleMergeException: merge=" + merge.segString(directory) + " exc=" + t);
|
||||
}
|
||||
|
||||
// Set the exception on the merge, so if
|
||||
// optimize() is waiting on us it sees the root
|
||||
// cause exception:
|
||||
|
|
Loading…
Reference in New Issue