gdbusproxy prefixes unstripped error
Submitted by Christian Persch
Assigned to David Zeuthen
When you construct a gdbus proxy for a service that is autostarted by that construction, but the server fails to start (e.g. by just calling exit()), the returned GError says:
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/gnome-terminal/gnome-terminal-server exited with status 1
Note the presence of the GDBus.Error: prefix of the inner error. I think that prefix should be stripped; attached patch does so.