summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2006-07-16 15:35:25 +0000
committerHavoc Pennington <hp@redhat.com>2006-07-16 15:35:25 +0000
commitd330ea7d1c98d29383dff2fc0a48269bde998760 (patch)
tree89724a29d560dd992af1c8609398cb535970c3f6
parentf86f2617b843046dbc9c5d8ce69c640688fab6a4 (diff)
2006-07-16 Havoc Pennington <hp@redhat.com>
* dbus/dbus-pending-call.c (_dbus_pending_call_set_timeout_error): Improve the error message on reply timeout
-rw-r--r--ChangeLog5
-rw-r--r--dbus/dbus-pending-call.c6
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index ad92c2f6..869daa23 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-07-16 Havoc Pennington <hp@redhat.com>
+
+ * dbus/dbus-pending-call.c (_dbus_pending_call_set_timeout_error):
+ Improve the error message on reply timeout
+
2006-07-14 John (J5) Palmieri <johnp@redhat.com>
* Remove all bindings
diff --git a/dbus/dbus-pending-call.c b/dbus/dbus-pending-call.c
index e3bfbb42..ba5f8757 100644
--- a/dbus/dbus-pending-call.c
+++ b/dbus/dbus-pending-call.c
@@ -304,7 +304,11 @@ _dbus_pending_call_set_timeout_error (DBusPendingCall *pending,
DBusMessage *reply;
reply = dbus_message_new_error (message, DBUS_ERROR_NO_REPLY,
- "No reply within specified time");
+ "Did not receive a reply. Possible causes include: "
+ "the remote application did not send a reply, "
+ "the message bus security policy blocked the reply, "
+ "the reply timeout expired, or "
+ "the network connection was broken.");
if (reply == NULL)
return FALSE;