]> source.dussan.org Git - vaadin-framework.git/commitdiff
Print full exceptions to stderr in dev mode
authorLeif Åstrand <leif@vaadin.com>
Thu, 22 Mar 2012 11:07:02 +0000 (13:07 +0200)
committerLeif Åstrand <leif@vaadin.com>
Thu, 22 Mar 2012 11:07:02 +0000 (13:07 +0200)
src/com/vaadin/terminal/gwt/client/ApplicationConfiguration.java

index 8be2d33838f82ab490c5dfd795dc08dee408857a..e166abc6880568897585202c3a968c91155eb876 100644 (file)
@@ -561,6 +561,10 @@ public class ApplicationConfiguration implements EntryPoint {
                  */
                 VConsole.getImplementation().error(e);
 
+                if (!GWT.isProdMode()) {
+                    e.printStackTrace();
+                }
+
                 try {
                     VNotification.createNotification(
                             VNotification.DELAY_FOREVER).show(