[gnome-contacts] search-provider: Don't dump core on timeout
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-contacts] search-provider: Don't dump core on timeout
- Date: Tue, 17 Nov 2015 15:24:57 +0000 (UTC)
commit c90c2b334016ead4af7444486b5ccafaacbb9e1a
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Nov 17 10:02:05 2015 -0500
search-provider: Don't dump core on timeout
g_error is documented as "This function will result in a core dump".
It will get picked up by crash collection systems and cause noise
there, which is not helpful. Just log a warning and move on.
https://bugzilla.gnome.org/show_bug.cgi?id=758230
src/contacts-esd-setup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/contacts-esd-setup.c b/src/contacts-esd-setup.c
index 049635a..936be16 100644
--- a/src/contacts-esd-setup.c
+++ b/src/contacts-esd-setup.c
@@ -115,7 +115,7 @@ gboolean contacts_ensure_eds_accounts (gboolean allow_interaction)
/* If this fails it's game over. */
if (error != NULL)
{
- g_error ("%s: %s", G_STRFUNC, error->message);
+ g_warning ("%s: %s", G_STRFUNC, error->message);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]