[liboobs] Report error when async D-Bus message returns an error
- From: Milan Bouchet-Valat <milanbv src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [liboobs] Report error when async D-Bus message returns an error
- Date: Fri, 18 Sep 2009 15:27:16 +0000 (UTC)
commit fc040c058c8538eef784188aa6fc3815935c42d3
Author: Milan Bouchet-Valat <nalimilan club fr>
Date: Fri Sep 18 16:54:50 2009 +0200
Report error when async D-Bus message returns an error
Another step towards an easier debugging. Still, we don't handle all errors, not from all places were the call is made, when communicating async. At least, now we get a message in the console.
oobs/oobs-object.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/oobs/oobs-object.c b/oobs/oobs-object.c
index 3245c3f..ccbba54 100644
--- a/oobs/oobs-object.c
+++ b/oobs/oobs-object.c
@@ -428,6 +428,7 @@ async_message_cb (DBusPendingCall *pending_call, gpointer data)
/* FIXME: process error */
result = OOBS_RESULT_MALFORMED_DATA;
}
+ g_warning ("There was an unknown error communicating asynchronously with the backends: %s", error.message);
dbus_error_free (&error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]