catch all exceptions when trying to talk to Awn through dbus

This commit is contained in:
Yann Leboulanger 2007-04-30 14:32:58 +00:00
parent ca271411be
commit 7717257a37
1 changed files with 3 additions and 2 deletions

View File

@ -3268,9 +3268,10 @@ class RosterWindow:
obj = bus.get_object('com.google.code.Awn', '/com/google/code/Awn')
awn = dbus.Interface(obj, 'com.google.code.Awn')
awn.SetTaskIconByName('Gajim', os.path.abspath(path))
except dbus.DBusException:
except Exception, e:
gajim.log.debug(str(e))
pass
def _music_track_changed(self, unused_listener, music_track_info):
accounts = gajim.connections.keys()
if music_track_info is None: