remove try in posIndex
This commit is contained in:
parent
32b304b43c
commit
30b6a29e0b
|
@ -159,11 +159,7 @@ public class ShardIndexingService extends AbstractIndexShardComponent {
|
||||||
totalStats.indexCurrent.dec();
|
totalStats.indexCurrent.dec();
|
||||||
typeStats(index.type()).indexCurrent.dec();
|
typeStats(index.type()).indexCurrent.dec();
|
||||||
for (IndexingOperationListener listener : listeners) {
|
for (IndexingOperationListener listener : listeners) {
|
||||||
try {
|
|
||||||
listener.postIndex(index, ex);
|
listener.postIndex(index, ex);
|
||||||
} catch (Exception e) {
|
|
||||||
logger.warn("postIndex listener [{}] failed", e, listener);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue