From a6369927faafb244faf853f01bf4c55f1d28679f Mon Sep 17 00:00:00 2001 From: Cosimo Alfarano Date: Mon, 15 Feb 2010 13:30:36 +0000 Subject: DBus registration failure should be notified even if TPL_DEBUG is not set --- src/telepathy-logger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/telepathy-logger.c b/src/telepathy-logger.c index 5d5cbed..da7605e 100644 --- a/src/telepathy-logger.c +++ b/src/telepathy-logger.c @@ -178,8 +178,8 @@ main (int argc, if (!tpl_observer_register_dbus (observer, &error)) { - DEBUG ("Error during D-Bus registration: %s", error->message); - return 1; + g_critical ("Error during D-Bus registration: %s", error->message); + goto out; } DEBUG ("TPL Observer registered to: %s", TPL_OBSERVER_WELL_KNOWN_BUS_NAME); -- cgit v1.2.1