Show webview crash to the user.
authorDaniel Carl <danielcarl@gmx.de>
Wed, 19 Oct 2016 20:23:54 +0000 (22:23 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Wed, 19 Oct 2016 20:23:54 +0000 (22:23 +0200)
src/main.c

index 0a158e8..e8c97da 100644 (file)
@@ -1139,7 +1139,8 @@ static void on_webview_ready_to_show(WebKitWebView *webview, Client *c)
  */
 static gboolean on_webview_web_process_crashed(WebKitWebView *webview, Client *c)
 {
-    g_warning("Webview Crashed on %s", webkit_web_view_get_uri(webview));
+    vb_echo(c, MSG_ERROR, FALSE, "Webview Crashed on %s", webkit_web_view_get_uri(webview));
+
     return TRUE;
 }