You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2010/08/31 18:31:57 UTC

svn commit: r991232 - /tapestry/tapestry5/trunk/tapestry-test/src/main/java/org/apache/tapestry5/test/ErrorReporterImpl.java

Author: hlship
Date: Tue Aug 31 16:31:57 2010
New Revision: 991232

URL: http://svn.apache.org/viewvc?rev=991232&view=rev
Log:
Force a white background (otherwise, the Tapestry exception report page may come out unreadable)

Modified:
    tapestry/tapestry5/trunk/tapestry-test/src/main/java/org/apache/tapestry5/test/ErrorReporterImpl.java

Modified: tapestry/tapestry5/trunk/tapestry-test/src/main/java/org/apache/tapestry5/test/ErrorReporterImpl.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-test/src/main/java/org/apache/tapestry5/test/ErrorReporterImpl.java?rev=991232&r1=991231&r2=991232&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-test/src/main/java/org/apache/tapestry5/test/ErrorReporterImpl.java (original)
+++ tapestry/tapestry5/trunk/tapestry-test/src/main/java/org/apache/tapestry5/test/ErrorReporterImpl.java Tue Aug 31 16:31:57 2010
@@ -86,7 +86,7 @@ public class ErrorReporterImpl implement
         System.err.println("Writing current page screenshot to: " + capture);
 
         commandProcessor.doCommand("captureEntirePageScreenshot", new String[]
-	    { capture.getAbsolutePath(), "" });
+        { capture.getAbsolutePath(), "background=white" });
     }
 
 }