GDBus: If exiting b/c remote peer disconnected and error is set, print it
authorDavid Zeuthen <davidz@redhat.com>
Tue, 3 Aug 2010 16:24:48 +0000 (12:24 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 3 Aug 2010 16:24:48 +0000 (12:24 -0400)
commit6a492a45191335ac97f54785db543f21dfce379c
tree54fb788f9b4041d1f30de07ea53e04e5aad67f7c
parent3940cc9a11fde063bb9f83cc362e575e5f378609
GDBus: If exiting b/c remote peer disconnected and error is set, print it

This should make things easier to debug:

  g_dbus_connection_real_closed: Remote peer vanished with error:
  Underlying GIOStream returned 0 bytes on an async read
  (g-io-error-quark, 0). Exiting.

Signed-off-by: David Zeuthen <davidz@redhat.com>
gio/gdbusconnection.c