# HG changeset patch # User Charly COSTE # Date 1266750522 -3600 # Node ID ac89a4a72a62f0dd98cc74cab1c21e4fc5f67cf2 # Parent 6db99e458168b9e3df6a525f88e7a2d50a249aca removed buggy exception catch in bridge.py Signed-off-by: Charly COSTE diff --git a/bridge.py b/bridge.py --- a/bridge.py +++ b/bridge.py @@ -153,17 +153,14 @@ class Bridge: if nickname == 'ChanServ' and from_protocol == 'irc': return - self.lock.acquire() self.bot.error(3, 'adding participant "'+nickname+'" from "'+from_protocol+'" to bridge "'+str(self)+'"', debug=True) try: p = Participant(self, from_protocol, nickname, real_jid=real_jid) - except IOError: - self.bot.error(3, 'IOError while adding participant "'+nickname+'" from "'+from_protocol+'" to bridge "'+str(self)+'", reconnectiong ...', debug=True) - p.xmpp_c.reconnectAndReauth() except: self.bot.error(3, 'unknown error while adding participant "'+nickname+'" from "'+from_protocol+'" to bridge "'+str(self)+'"', debug=True) traceback.print_exc() return + self.lock.acquire() self.participants.append(p) self.lock.release() if self.mode not in ['normal', 'bypass']: