diff --git a/orcid-core/src/main/java/org/orcid/core/manager/impl/OrgDisambiguatedManagerImpl.java b/orcid-core/src/main/java/org/orcid/core/manager/impl/OrgDisambiguatedManagerImpl.java index 0ea7b06e63e..3a47eb28b31 100644 --- a/orcid-core/src/main/java/org/orcid/core/manager/impl/OrgDisambiguatedManagerImpl.java +++ b/orcid-core/src/main/java/org/orcid/core/manager/impl/OrgDisambiguatedManagerImpl.java @@ -91,7 +91,12 @@ synchronized public void processOrgsForIndexing() { entities = orgDisambiguatedDaoReadOnly.findOrgsPendingIndexing(startIndex, indexingBatchSize); LOGGER.info("Found chunk of {} disambiguated orgs for indexing", entities.size()); for (OrgDisambiguatedEntity entity : entities) { - processDisambiguatedOrgInTransaction(entity); + try { + processDisambiguatedOrgInTransaction(entity); + } + catch(Exception ex) { + LOGGER.error("@@@FAILED to process the disambiguated org" + entity.getId() + " source id: " + entity.getSourceId(), ex); + } } startIndex = startIndex + indexingBatchSize; } while (!entities.isEmpty());