summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--telepathy-glib/proxy-methods.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/telepathy-glib/proxy-methods.c b/telepathy-glib/proxy-methods.c
index 4c1d731c8..9dcf327a8 100644
--- a/telepathy-glib/proxy-methods.c
+++ b/telepathy-glib/proxy-methods.c
@@ -200,6 +200,10 @@ tp_proxy_pending_call_async_ready_cb (GObject *source_object,
}
else
{
+ if (error->domain != G_IO_ERROR ||
+ error->code != G_IO_ERROR_DBUS_ERROR)
+ g_dbus_error_strip_remote_error (error);
+
DEBUG ("%p: %s #%d: %s", pc,
g_quark_to_string (error->domain), error->code,
error->message);