jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mdue...@apache.org
Subject svn commit: r1418402 - /jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionNameMapper.java
Date Fri, 07 Dec 2012 17:17:12 GMT
Author: mduerig
Date: Fri Dec  7 17:17:11 2012
New Revision: 1418402

URL: http://svn.apache.org/viewvc?rev=1418402&view=rev
Log:
OAK-189: Swallowed exceptions
log stack trace

Modified:
    jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionNameMapper.java

Modified: jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionNameMapper.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionNameMapper.java?rev=1418402&r1=1418401&r2=1418402&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionNameMapper.java
(original)
+++ jackrabbit/oak/trunk/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/SessionNameMapper.java
Fri Dec  7 17:17:11 2012
@@ -19,7 +19,7 @@ public class SessionNameMapper extends A
             String ns = sessionDelegate.getWorkspace().getNamespaceRegistry().getURI(oakPrefix);
             return sessionDelegate.getSession().getNamespacePrefix(ns);
         } catch (RepositoryException e) {
-            SessionDelegate.log.debug("Could not get JCR prefix for OAK prefix " + oakPrefix);
+            SessionDelegate.log.debug("Could not get JCR prefix for OAK prefix " + oakPrefix,
e);
             return null;
         }
     }
@@ -31,7 +31,7 @@ public class SessionNameMapper extends A
             String ns = sessionDelegate.getSession().getNamespaceURI(jcrPrefix);
             return sessionDelegate.getWorkspace().getNamespaceRegistry().getPrefix(ns);
         } catch (RepositoryException e) {
-            SessionDelegate.log.debug("Could not get OAK prefix for JCR prefix " + jcrPrefix);
+            SessionDelegate.log.debug("Could not get OAK prefix for JCR prefix " + jcrPrefix,
e);
             return null;
         }
     }
@@ -42,7 +42,7 @@ public class SessionNameMapper extends A
         try {
             return sessionDelegate.getWorkspace().getNamespaceRegistry().getPrefix(uri);
         } catch (RepositoryException e) {
-            SessionDelegate.log.debug("Could not get OAK prefix for URI " + uri);
+            SessionDelegate.log.debug("Could not get OAK prefix for URI " + uri, e);
             return null;
         }
     }



Mime
View raw message