[evolution-data-server] Debug-print also error message on ERROR authentication



commit b151c44c35736702f1d093443074d722cbac4cac
Author: Milan Crha <mcrha redhat com>
Date:   Thu Aug 2 11:07:08 2012 +0200

    Debug-print also error message on ERROR authentication

 libebackend/e-authentication-session.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libebackend/e-authentication-session.c b/libebackend/e-authentication-session.c
index 470e75f..4f3a0f1 100644
--- a/libebackend/e-authentication-session.c
+++ b/libebackend/e-authentication-session.c
@@ -615,7 +615,7 @@ exit:
 	switch (session_result) {
 		case E_AUTHENTICATION_SESSION_ERROR:
 			authentication_session_msg (
-				session, "Complete (ERROR)");
+				session, "Complete (ERROR - %s)", error && *error ? (*error)->message : "Uknown/Unset error");
 			break;
 		case E_AUTHENTICATION_SESSION_SUCCESS:
 			authentication_session_msg (



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