[epiphany] Downgrade new criticals to warnings
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Downgrade new criticals to warnings
- Date: Tue, 7 Aug 2018 22:51:21 +0000 (UTC)
commit e592d7d5f74808f02af1fab50e2b004d6b3632af
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Tue Aug 7 17:50:08 2018 -0500
Downgrade new criticals to warnings
I realized this was a bad idea immediately after I pushed it. Don't want
to crash the UI process here when using G_DEBUG=fatal-criticals.
embed/ephy-web-view.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c
index 4075808ab..b76c9251c 100644
--- a/embed/ephy-web-view.c
+++ b/embed/ephy-web-view.c
@@ -1131,10 +1131,10 @@ process_terminated_cb (EphyWebView *web_view,
{
switch (reason) {
case WEBKIT_WEB_PROCESS_CRASHED:
- g_critical (_("Web process crashed"));
+ g_warning (_("Web process crashed"));
break;
case WEBKIT_WEB_PROCESS_EXCEEDED_MEMORY_LIMIT:
- g_critical (_("Web process terminated due to exceeding memory limit"));
+ g_warning (_("Web process terminated due to exceeding memory limit"));
break;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]