summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2014-08-26 21:28:06 +0300
committerVaadin Code Review <review@vaadin.com>2014-08-27 08:34:05 +0000
commit5f4dd0e8c8339be72ea15f1f577bcd9e83faa5bc (patch)
tree534658adfa13e268d196cafc9e9225ebdf649ce5 /client
parent1ea2583bdf20b5d8d0f6e8a6615c2b5b879689ab (diff)
downloadvaadin-framework-5f4dd0e8c8339be72ea15f1f577bcd9e83faa5bc.tar.gz
vaadin-framework-5f4dd0e8c8339be72ea15f1f577bcd9e83faa5bc.zip
Log theme loading error when it happens and not later (#14517)
Change-Id: I0d19e1c53dfe48a9a501ff25c19318b96c96ef3b
Diffstat (limited to 'client')
-rw-r--r--client/src/com/vaadin/client/ApplicationConnection.java4
1 files changed, 2 insertions, 2 deletions
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);
}
}