[evolution-ews] 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] e-ews-search-user: Do not print console error when nothing found
- Date: Mon, 27 May 2013 18:28:18 +0000 (UTC)
commit ef8dca634702ca4899641490909e65295a2a7355
Author: Milan Crha <mcrha redhat com>
Date: Mon May 27 20:28:08 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]