Skip to content

Commit

Permalink
DG-1697: Adding endpoint for linking/unlink policy
Browse files Browse the repository at this point in the history
  • Loading branch information
arpit-at committed Jul 12, 2024
1 parent 7e6009b commit 9f3282c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ private void notifyEntityEvents(List<AtlasEntity> entities, OperationType operat
}

}

LOG.info("Arpit has reached till send notification size: {} content: {} ", messages.size(), messages.get(0).toString());
sendNotifications(operationType, messages);
RequestContext.get().endMetricRecord(metric);
}
Expand Down Expand Up @@ -245,6 +245,7 @@ private void sendNotifications(OperationType operationType, List<EntityNotificat
notificationSender.send(operationType, messages);
}
} catch (NotificationException e) {
LOG.error("Arpit has reached till check - error:", e);
throw new AtlasBaseException(AtlasErrorCode.ENTITY_NOTIFICATION_FAILED, e, operationType.name());
}
}
Expand Down

0 comments on commit 9f3282c

Please sign in to comment.