[recipes] Add some debug output for portal versions



commit 4afc9df6561fdfdd5aad37f83d4a6d4f745050b1
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Nov 27 09:36:38 2017 -0500

    Add some debug output for portal versions
    
    This should help tracking down a problem where exporting
    recipes fails.

 src/gr-mail.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-mail.c b/src/gr-mail.c
index 9fad60c..c33cbbd 100644
--- a/src/gr-mail.c
+++ b/src/gr-mail.c
@@ -140,8 +140,10 @@ get_mail_portal_proxy (void)
 
         prop = g_dbus_proxy_get_cached_property (proxy, "version");
         g_variant_get (prop, "u", &version);
-        if (version < 2)
+        if (version < 2) {
+                g_info ("Email portal version too old (%d, need 2)", version);
                 return NULL;
+        }
 
         return proxy;
 }


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