You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2011/12/09 18:56:04 UTC
svn commit: r1212548 -
/tapestry/tapestry5/branches/5.3/tapestry-yuicompressor/src/main/java/org/apache/tapestry5/internal/yuicompressor/JavaScriptResourceMinimizer.java
Author: hlship
Date: Fri Dec 9 17:56:04 2011
New Revision: 1212548
URL: http://svn.apache.org/viewvc?rev=1212548&view=rev
Log:
TAP5-1785: Exceptions while compressing JavaScript are not fully reported
Modified:
tapestry/tapestry5/branches/5.3/tapestry-yuicompressor/src/main/java/org/apache/tapestry5/internal/yuicompressor/JavaScriptResourceMinimizer.java
Modified: tapestry/tapestry5/branches/5.3/tapestry-yuicompressor/src/main/java/org/apache/tapestry5/internal/yuicompressor/JavaScriptResourceMinimizer.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/branches/5.3/tapestry-yuicompressor/src/main/java/org/apache/tapestry5/internal/yuicompressor/JavaScriptResourceMinimizer.java?rev=1212548&r1=1212547&r2=1212548&view=diff
==============================================================================
--- tapestry/tapestry5/branches/5.3/tapestry-yuicompressor/src/main/java/org/apache/tapestry5/internal/yuicompressor/JavaScriptResourceMinimizer.java (original)
+++ tapestry/tapestry5/branches/5.3/tapestry-yuicompressor/src/main/java/org/apache/tapestry5/internal/yuicompressor/JavaScriptResourceMinimizer.java Fri Dec 9 17:56:04 2011
@@ -113,7 +113,7 @@ public class JavaScriptResourceMinimizer
private void recoverFromException(Exception ex, StreamableResource resource, Writer output) throws IOException
{
- logger.error(String.format("Exception minimizing %s: %s", resource.getDescription(), InternalUtils.toMessage(ex), ex));
+ logger.error(String.format("Exception minimizing %s: %s", resource.getDescription(), InternalUtils.toMessage(ex)), ex);
streamUnminimized(resource, output);
}