From 02fc0a86c31fed7a04b77fc657a194ce2740edc7 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 26 Dec 2005 16:41:22 +0000 Subject: [PATCH] print more dbus errors in verbose mode only --- src/notify.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/notify.py b/src/notify.py index 2c322920f..167586d91 100644 --- a/src/notify.py +++ b/src/notify.py @@ -57,10 +57,10 @@ def notify(event_type, jid, account, msg_type = '', file_props = None): return except dbus.dbus_bindings.DBusException, e: # Connection to DBus failed, try popup - print >> sys.stderr, e + gajim.log.debug(str(e)) except TypeError, e: # This means that we sent the message incorrectly - print >> sys.stderr, e + gajim.log.debug(str(e)) instance = dialogs.PopupNotificationWindow(event_type, jid, account, msg_type, file_props) gajim.interface.roster.popup_notification_windows.append(instance)