From 512ea79df8cf2d0e6473f4a4a980e427f7352a78 Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Wed, 19 Oct 2016 22:23:54 +0200 Subject: [PATCH] Show webview crash to the user. --- src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 0a158e8..e8c97da 100644 --- a/src/main.c +++ b/src/main.c @@ -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; } -- 2.20.1