diff --git a/src/main/java/sh/libre/scim/core/UserAdapter.java b/src/main/java/sh/libre/scim/core/UserAdapter.java index 86262bf637..fac1f99665 100644 --- a/src/main/java/sh/libre/scim/core/UserAdapter.java +++ b/src/main/java/sh/libre/scim/core/UserAdapter.java @@ -105,6 +105,7 @@ public class UserAdapter extends Adapter { user.getRoleMappingsStream().filter((r) -> r.getFirstAttribute("scim").equals("true")) .map((r) -> r.getName()).forEach(r -> rolesSet.add(r)); } catch (Exception e) { + LOGGER.error(e); } var roles = new String[rolesSet.size()]; rolesSet.toArray(roles);