From: Artur Signell Date: Tue, 10 Apr 2012 06:13:13 +0000 (+0300) Subject: Print stack traces to console when in GWT Dev Mode X-Git-Tag: 7.0.0.alpha2~108 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=238419e0f1a878716606427bd9d0d801aee10cb7;p=vaadin-framework.git Print stack traces to console when in GWT Dev Mode At least for now --- diff --git a/src/com/vaadin/terminal/gwt/client/VDebugConsole.java b/src/com/vaadin/terminal/gwt/client/VDebugConsole.java index f28af4040d..fea777ff72 100644 --- a/src/com/vaadin/terminal/gwt/client/VDebugConsole.java +++ b/src/com/vaadin/terminal/gwt/client/VDebugConsole.java @@ -634,6 +634,10 @@ public class VDebugConsole extends VOverlay implements Console { } error(Util.getSimpleName(e) + ": " + e.getMessage()); GWT.log(e.getMessage(), e); + if (!GWT.isProdMode()) { + e.printStackTrace(); + } + } public void init() {