From 238419e0f1a878716606427bd9d0d801aee10cb7 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 10 Apr 2012 09:13:13 +0300 Subject: [PATCH] Print stack traces to console when in GWT Dev Mode At least for now --- src/com/vaadin/terminal/gwt/client/VDebugConsole.java | 4 ++++ 1 file changed, 4 insertions(+) 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() { -- 2.39.5