clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r1538331 - /clerezza/trunk/platform.typerendering/platform.typerendering.core/src/main/java/org/apache/clerezza/platform/typerendering/TypeRenderingExceptionMapper.java
Date Sun, 03 Nov 2013 10:19:09 GMT
Author: reto
Date: Sun Nov  3 10:19:09 2013
New Revision: 1538331

URL: http://svn.apache.org/r1538331
Log:
TypeRenderingExceptions: logging full exception rather than just message

Modified:
    clerezza/trunk/platform.typerendering/platform.typerendering.core/src/main/java/org/apache/clerezza/platform/typerendering/TypeRenderingExceptionMapper.java

Modified: clerezza/trunk/platform.typerendering/platform.typerendering.core/src/main/java/org/apache/clerezza/platform/typerendering/TypeRenderingExceptionMapper.java
URL: http://svn.apache.org/viewvc/clerezza/trunk/platform.typerendering/platform.typerendering.core/src/main/java/org/apache/clerezza/platform/typerendering/TypeRenderingExceptionMapper.java?rev=1538331&r1=1538330&r2=1538331&view=diff
==============================================================================
--- clerezza/trunk/platform.typerendering/platform.typerendering.core/src/main/java/org/apache/clerezza/platform/typerendering/TypeRenderingExceptionMapper.java
(original)
+++ clerezza/trunk/platform.typerendering/platform.typerendering.core/src/main/java/org/apache/clerezza/platform/typerendering/TypeRenderingExceptionMapper.java
Sun Nov  3 10:19:09 2013
@@ -59,7 +59,7 @@ public class TypeRenderingExceptionMappe
     @Override
     public Response toResponse(TypeRenderingException exception) {
         ResponseBuilder rb = Response.serverError();
-        logger.info(exception.getMessage());
+        logger.info("Rendering: "+exception.getMessage(), exception);
         if (exception.getRenderNode().hasProperty(RDF.type, TYPERENDERING.Exception)) {
             logger.error("Exception in template used for rendering exceptions ", exception);
             rb.entity("There is an error in the template used for rendering" +



Mime
View raw message