print dbus error only in verbose mode
This commit is contained in:
parent
250e916318
commit
61b55f4312
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue