diff options
author | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-02-15 13:30:36 +0000 |
---|---|---|
committer | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-02-15 15:28:04 +0000 |
commit | a6369927faafb244faf853f01bf4c55f1d28679f (patch) | |
tree | 089b3ad11257077786de3347d69179001bf73939 /src | |
parent | 10bec615d465cfad9c76845c8dbd9a9995c6741d (diff) | |
download | telepathy-logger-a6369927faafb244faf853f01bf4c55f1d28679f.tar.gz |
DBus registration failure should be notified even if TPL_DEBUG is not set
Diffstat (limited to 'src')
-rw-r--r-- | src/telepathy-logger.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |