Revision: 6121
Author: j...@google.com
Date: Fri Sep 11 10:46:51 2009
Log: Use <pre> around exception stack traces to preserve whitespace and use  
a
fixed-width font.

Patch by: jat
Review by: spoon (desk)

http://code.google.com/p/google-web-toolkit/source/detail?r=6121

Modified:
  /trunk/dev/oophm/src/com/google/gwt/dev/shell/log/SwingTreeLogger.java

=======================================
--- /trunk/dev/oophm/src/com/google/gwt/dev/shell/log/SwingTreeLogger.java      
 
Sat Aug 22 16:01:38 2009
+++ /trunk/dev/oophm/src/com/google/gwt/dev/shell/log/SwingTreeLogger.java      
 
Fri Sep 11 10:46:51 2009
@@ -113,7 +113,7 @@
        // Show the exception info for anything other  
than "UnableToComplete".
        //
        if (exceptionDetail != null) {
-        sb.append(htmlEscape(exceptionDetail));
+        sb.append("<pre>" + htmlEscape(exceptionDetail) + "</pre>");
        }
        if (helpInfo != null) {
          URL url = helpInfo.getURL();

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to