diff options
author | Artur Signell <artur@vaadin.com> | 2013-03-04 20:07:00 +0200 |
---|---|---|
committer | Artur Signell <artur@vaadin.com> | 2013-03-05 12:45:20 +0200 |
commit | d4143dd71b314a83a8f610f6b5c9d06435180dbd (patch) | |
tree | c91c8cd3bc072f061b619141b6eb7703f4a7db1c /client | |
parent | 718b7dea773fddc47a316d82989e0759af6df67b (diff) | |
download | vaadin-framework-d4143dd71b314a83a8f610f6b5c9d06435180dbd.tar.gz vaadin-framework-d4143dd71b314a83a8f610f6b5c9d06435180dbd.zip |
Log errors as errors and not normal messages (#11251)
Change-Id: I3686da461ea5b64b5051c2c3b24feb58814c929d
Diffstat (limited to 'client')
-rw-r--r-- | client/src/com/vaadin/client/ui/embedded/EmbeddedConnector.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/src/com/vaadin/client/ui/embedded/EmbeddedConnector.java b/client/src/com/vaadin/client/ui/embedded/EmbeddedConnector.java index bce4242557..c6e4883fa9 100644 --- a/client/src/com/vaadin/client/ui/embedded/EmbeddedConnector.java +++ b/client/src/com/vaadin/client/ui/embedded/EmbeddedConnector.java @@ -137,7 +137,8 @@ public class EmbeddedConnector extends AbstractComponentConnector implements getWidget().getSrc(uidl, client)); clearBrowserElement = false; } else { - VConsole.log("Unknown Embedded type '" + getWidget().type + "'"); + VConsole.error("Unknown Embedded type '" + getWidget().type + + "'"); } } else if (uidl.hasAttribute("mimetype")) { // remove old style name related to type @@ -203,10 +204,10 @@ public class EmbeddedConnector extends AbstractComponentConnector implements .getStringAttribute(EmbeddedConstants.ALTERNATE_TEXT)); } } else { - VConsole.log("Unknown Embedded mimetype '" + mime + "'"); + VConsole.error("Unknown Embedded mimetype '" + mime + "'"); } } else { - VConsole.log("Unknown Embedded; no type or mimetype attribute"); + VConsole.error("Unknown Embedded; no type or mimetype attribute"); } if (clearBrowserElement) { |