From d4143dd71b314a83a8f610f6b5c9d06435180dbd Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Mon, 4 Mar 2013 20:07:00 +0200 Subject: Log errors as errors and not normal messages (#11251) Change-Id: I3686da461ea5b64b5051c2c3b24feb58814c929d --- client/src/com/vaadin/client/ui/embedded/EmbeddedConnector.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'client') 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) { -- cgit v1.2.3