do not log exceptions that we are handling by rebuilding indices (the exception will be logged anyway) (EA-68516)

This commit is contained in:
Maxim.Mossienko
2015-10-06 16:08:50 +02:00
parent a1f0251464
commit 1675b66a1d
@@ -1748,7 +1748,6 @@ public class FileBasedIndexImpl extends FileBasedIndex {
} catch (RuntimeException exception) {
Throwable causeToRebuildIndex = getCauseToRebuildIndex(exception);
if (causeToRebuildIndex != null && (updateCalculated || causeToRebuildIndex instanceof IOException)) {
LOG.error("Exception in update single index:" + exception);
requestRebuild(indexId, exception);
return;
}