postCreateUnderLock try catch listeners
This commit is contained in:
parent
39fad8c374
commit
cddf198c83
|
@ -96,7 +96,11 @@ public class ShardIndexingService extends AbstractIndexShardComponent {
|
|||
|
||||
public void postCreateUnderLock(Engine.Create create) {
|
||||
for (IndexingOperationListener listener : listeners) {
|
||||
listener.postCreateUnderLock(create);
|
||||
try {
|
||||
listener.postCreateUnderLock(create);
|
||||
} catch (Exception e) {
|
||||
logger.warn("postCreateUnderLock listener [{}] failed", e, listener);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue