You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2008/01/18 10:02:08 UTC

svn commit: r613111 - /incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/loader/Loader.java

Author: cziegeler
Date: Fri Jan 18 01:02:07 2008
New Revision: 613111

URL: http://svn.apache.org/viewvc?rev=613111&view=rev
Log:
Log stacktrace of exception to see what is going wrong.

Modified:
    incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/loader/Loader.java

Modified: incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/loader/Loader.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/loader/Loader.java?rev=613111&r1=613110&r2=613111&view=diff
==============================================================================
--- incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/loader/Loader.java (original)
+++ incubator/sling/trunk/jcr/resource/src/main/java/org/apache/sling/jcr/resource/internal/loader/Loader.java Fri Jan 18 01:02:07 2008
@@ -117,8 +117,7 @@
         } catch (RepositoryException re) {
             // if we are retrying we already logged this message once, so we won't log it again
             if ( !isRetry ) {
-                log.error("Cannot load initial content for bundle {}: {}",
-                    bundle.getSymbolicName(), re);
+                log.error("Cannot load initial content for bundle " + bundle.getSymbolicName() + " : " + re.getMessage(), re);
             }
         }