[evolution] Include folder uri in "Failed to refresh folder" runtime warning



commit 74c1bf97148725d0e8097d9a22b76f228cb32be9
Author: Milan Crha <mcrha redhat com>
Date:   Fri Aug 17 13:58:57 2012 +0200

    Include folder uri in "Failed to refresh folder" runtime warning

 mail/mail-send-recv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 4dd68f6..c5d3cd7 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -1052,7 +1052,7 @@ refresh_folders_exec (struct _refresh_folders_msg *m,
 
 		if (local_error != NULL) {
 			if (!g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
-				g_warning ("Failed to refresh folders: %s", local_error->message);
+				g_warning ("Failed to refresh folder: %s: %s", (const gchar *) m->folders->pdata[i], local_error->message);
 			g_clear_error (&local_error);
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]