From 5f4dd0e8c8339be72ea15f1f577bcd9e83faa5bc Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Tue, 26 Aug 2014 21:28:06 +0300 Subject: Log theme loading error when it happens and not later (#14517) Change-Id: I0d19e1c53dfe48a9a501ff25c19318b96c96ef3b --- client/src/com/vaadin/client/ApplicationConnection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/src/com/vaadin/client/ApplicationConnection.java b/client/src/com/vaadin/client/ApplicationConnection.java index 90aa0a14d6..c4603e548a 100644 --- a/client/src/com/vaadin/client/ApplicationConnection.java +++ b/client/src/com/vaadin/client/ApplicationConnection.java @@ -1135,10 +1135,10 @@ public class ApplicationConnection implements HasHandlers { } } else { cssLoaded = true; - handleReceivedJSONMessage(new Date(), jsonText, json); if (cssWaits >= MAX_CSS_WAITS) { - VConsole.error("CSS files may have not loaded properly."); + getLogger().severe("CSS files may have not loaded properly."); } + handleReceivedJSONMessage(new Date(), jsonText, json); } } -- cgit v1.2.3