Skip to content

Commit

Permalink
review fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Seddik Yengui committed Feb 23, 2024
1 parent 0d44b89 commit 283b748
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@ public void deleteElement(UUID id, String userId) {
public void deleteElements(List<UUID> uuids, String userId) {
try {
uuids.forEach(id -> directoryService.deleteElement(id, userId));
directoryService.deleteDirectoryElements(uuids, userId);
// FIXME dirty fix to ignore errors and still delete the elements in the directory-server. To delete when handled properly.
} catch (Exception e) {
LOGGER.error(e.toString(), e);
} finally {
directoryService.deleteDirectoryElements(uuids, userId);
}
}
Expand Down

0 comments on commit 283b748

Please sign in to comment.