[glib: 1/2] gdbus: proxy : Strip remote error on activation failure



commit ca7a29e8e094d1dfc2ec8cb8374b266a4125a2a0
Author: Emmanuel Fleury <emmanuel fleury u-bordeaux fr>
Date:   Tue Jun 18 10:33:55 2019 +0200

    gdbus: proxy : Strip remote error on activation failure
    
    Original patch proposed by Christian Persch
    
    Related to issue #804

 gio/gdbusproxy.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gio/gdbusproxy.c b/gio/gdbusproxy.c
index 0ab117854..cb8be73ef 100644
--- a/gio/gdbusproxy.c
+++ b/gio/gdbusproxy.c
@@ -1613,6 +1613,7 @@ async_init_start_service_by_name_cb (GDBusConnection *connection,
             }
           else
             {
+              g_dbus_error_strip_remote_error (error);
               g_prefix_error (&error,
                               _("Error calling StartServiceByName for %s: "),
                               proxy->priv->name);


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