gdbus: proxy : Strip remote error on activation failure

Original patch proposed by Christian Persch

Related to issue #804
This commit is contained in:
Emmanuel Fleury 2019-06-18 10:33:55 +02:00
parent 833d38b40f
commit ca7a29e8e0

View File

@ -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);