[gjs] Show a debug message when DBus introspection fails
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] Show a debug message when DBus introspection fails
- Date: Thu, 15 Mar 2012 20:43:21 +0000 (UTC)
commit 7924d95fa48629c53063c6cb308869728bd6bdf4
Author: James Willcox <jwillcox litl com>
Date: Wed Jan 20 12:46:51 2010 -0500
Show a debug message when DBus introspection fails
https://bugzilla.gnome.org/show_bug.cgi?id=607589
modules/dbus-exports.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/modules/dbus-exports.c b/modules/dbus-exports.c
index 8feb62e..d7ba22e 100644
--- a/modules/dbus-exports.c
+++ b/modules/dbus-exports.c
@@ -1482,6 +1482,7 @@ handle_introspect(JSContext *context,
if (!JS_CallFunctionName(context, obj, "getDBusInterfaceXML", 0, NULL,
&valueval)) {
+ gjs_debug(GJS_DEBUG_DBUS, "Error calling getDBusInterfaceXML (did you forget to call conformExport?)");
gjs_log_exception(context, NULL);
} else if (!gjs_string_to_utf8(context, valueval, &interfaceXML)) {
gjs_debug(GJS_DEBUG_DBUS,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]