[evolution-ews/gnome-3-8] e-ews-search-user: Do not print console error when nothing found
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-ews/gnome-3-8] e-ews-search-user: Do not print console error when nothing found
- Date: Mon, 27 May 2013 18:28:28 +0000 (UTC)
commit 0a297a2cab5c94ad698dd1cb7c1a6783906492c0
Author: Milan Crha <mcrha redhat com>
Date: Mon May 27 20:28:19 2013 +0200
e-ews-search-user: Do not print console error when nothing found
src/configuration/e-ews-search-user.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/configuration/e-ews-search-user.c b/src/configuration/e-ews-search-user.c
index 4f4bb6c..9597eef 100644
--- a/src/configuration/e-ews-search-user.c
+++ b/src/configuration/e-ews-search-user.c
@@ -270,7 +270,8 @@ search_thread (gpointer user_data)
g_slist_free_full (mailboxes, (GDestroyNotify) e_ews_mailbox_free);
- if (error && !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
+ if (error && !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) &&
+ !g_error_matches (error, EWS_CONNECTION_ERROR,
EWS_CONNECTION_ERROR_NAMERESOLUTIONNORESULTS))
g_warning ("%s: Failed to search user: %s", G_STRFUNC, error->message);
g_clear_error (&error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]