You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:50:12 UTC
[sling-org-apache-sling-jcr-jackrabbit-usermanager] 08/14: add
logging when an exception is thrown
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.jcr.jackrabbit.usermanager-2.2.6
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-jackrabbit-usermanager.git
commit bf4161e54dc91f41871d0afdb2050971b78a4186
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Mar 30 10:01:50 2017 +0000
add logging when an exception is thrown
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/bundles/jcr/jackrabbit-usermanager@1789486 13f79535-47bb-0310-9956-ffa450edef68
---
.../jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java b/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java
index c1f650e..41aac80 100644
--- a/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java
+++ b/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableValueMap.java
@@ -54,6 +54,8 @@ public class AuthorizableValueMap implements ValueMap {
private static final String MEMBER_OF_KEY = "memberOf";
+ private static final Logger LOG = LoggerFactory.getLogger(AuthorizableValueMap.class);
+
private Logger logger = LoggerFactory.getLogger(AuthorizableValueMap.class);
private boolean fullyRead;
@@ -165,7 +167,7 @@ public class AuthorizableValueMap implements ValueMap {
return value;
}
} catch (RepositoryException re) {
- // TODO: log !!
+ LOG.error("Could not access authorizable property", re);
}
// property not found or some error accessing it
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.