print dbus error only in verbose mode

This commit is contained in:
Yann Leboulanger 2005-12-26 14:00:06 +00:00
parent 250e916318
commit 61b55f4312
1 changed files with 1 additions and 5 deletions

View File

@ -104,11 +104,7 @@ def get_interface(interface, path):
obj = bus.get_object(interface, path) obj = bus.get_object(interface, path)
return dbus.Interface(obj, interface) return dbus.Interface(obj, interface)
except Exception, e: except Exception, e:
print >> sys.stderr, e gajim.log.debug(str(e))
return None
except dbus.dbus_bindings.DBusException, e:
# This exception could give useful info about why notification breaks
print >> sys.stderr, e
return None return None