Skip to content

Commit

Permalink
Merge pull request #3425 from atlanhq/DG-1726-cleanUpPagination
Browse files Browse the repository at this point in the history
Added another exception catch in tag prop cleanup
  • Loading branch information
hr2904 authored Aug 23, 2024
2 parents 86cde47 + 4a6bc31 commit 676b9f8
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3157,7 +3157,12 @@ public void cleanUpClassificationPropagation(String classificationName) throws A
}
// Fetch all classificationVertex by classificationName and delete them if remaining
for (AtlasVertex classificationVertex : classificationVertices) {
deleteDelegate.getHandler().deleteClassificationVertex(classificationVertex, true);
try {
deleteDelegate.getHandler().deleteClassificationVertex(classificationVertex, true);
}
catch (IllegalStateException e){
e.printStackTrace();
}
}
transactionInterceptHelper.intercept();
LOG.info("Completed cleaning up classification {}", classificationName);
Expand Down

0 comments on commit 676b9f8

Please sign in to comment.