--- a/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/extension/AbstractBrowserPortalPageLayer.java Thu Aug 05 15:31:11 2010 -0500
+++ b/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/extension/AbstractBrowserPortalPageLayer.java Fri Aug 06 08:18:06 2010 -0500
@@ -18,6 +18,7 @@
import java.net.MalformedURLException;
import java.net.URL;
+import java.text.MessageFormat;
import java.util.LinkedHashSet;
import java.util.Set;
@@ -137,7 +138,8 @@
try {
browser = new Browser(composite, SWT.MOZILLA);
} catch (SWTError e) {
- Activator.logError(Messages.AbstractBrowserPortalPageLayer_BrowserCreateError, e);
+ // don't log with SWTError as Throwable because it displays a dialog and this may occur and be benign
+ Activator.logError(MessageFormat.format(Messages.AbstractBrowserPortalPageLayer_BrowserCreateError, e.getMessage()), null);
}
return composite;