Skip to content
Snippets Groups Projects
Commit 61b55f43 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

print dbus error only in verbose mode

parent 250e9163
No related branches found
No related tags found
No related merge requests found
......@@ -104,11 +104,7 @@ def get_interface(interface, path):
obj = bus.get_object(interface, path)
return dbus.Interface(obj, interface)
except Exception, e:
print >> sys.stderr, e
return None
except dbus.dbus_bindings.DBusException, e:
# This exception could give useful info about why notification breaks
print >> sys.stderr, e
gajim.log.debug(str(e))
return None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment