catch all exceptions when trying to talk to Awn through dbus
This commit is contained in:
parent
ca271411be
commit
7717257a37
1 changed files with 3 additions and 2 deletions
|
@ -3268,7 +3268,8 @@ class RosterWindow:
|
||||||
obj = bus.get_object('com.google.code.Awn', '/com/google/code/Awn')
|
obj = bus.get_object('com.google.code.Awn', '/com/google/code/Awn')
|
||||||
awn = dbus.Interface(obj, 'com.google.code.Awn')
|
awn = dbus.Interface(obj, 'com.google.code.Awn')
|
||||||
awn.SetTaskIconByName('Gajim', os.path.abspath(path))
|
awn.SetTaskIconByName('Gajim', os.path.abspath(path))
|
||||||
except dbus.DBusException:
|
except Exception, e:
|
||||||
|
gajim.log.debug(str(e))
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def _music_track_changed(self, unused_listener, music_track_info):
|
def _music_track_changed(self, unused_listener, music_track_info):
|
||||||
|
|
Loading…
Add table
Reference in a new issue