From 96a2ac44fcab8e05fac72e36024c00a1d4dfde94 Mon Sep 17 00:00:00 2001 From: Hugo Renard Date: Fri, 22 Apr 2022 16:38:13 +0200 Subject: [PATCH] log user role mapping errors --- src/main/java/sh/libre/scim/core/UserAdapter.java | 1 + 1 file changed, 1 insertion(+) 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);