Skip to content

Commit

Permalink
throw out exception to fail the ingest request when routing aspect fa…
Browse files Browse the repository at this point in the history
…il (#488)
  • Loading branch information
ZihanLi58 authored Dec 13, 2024
1 parent b710127 commit d3f8bc3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ private void ingestAspect(Set<Class<? extends RecordTemplate>> aspectsToIgnore,
getLocalDAO().rawAdd((URN) urn, aspect, auditStamp, trackingContext, ingestionParams);
} catch (Exception exception) {
log.error("Couldn't ingest routing aspect {} for {}", aspect.getClass().getSimpleName(), urn, exception);
throw exception;
}
} else {
if (skipExtraProcessing) {
Expand Down

0 comments on commit d3f8bc3

Please sign in to comment.