mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-09 12:29:22 +01:00
Catch an exception uncaught before.
This commit is contained in:
parent
d33c5333c5
commit
4db8dfb773
@ -655,8 +655,13 @@ class Relay(callbacks.Privmsg, configurable.Mixin):
|
|||||||
if channel in self.channels:
|
if channel in self.channels:
|
||||||
for otherIrc in self.ircs.itervalues():
|
for otherIrc in self.ircs.itervalues():
|
||||||
if otherIrc != irc:
|
if otherIrc != irc:
|
||||||
if otherIrc.state.getTopic(channel) != topic:
|
try:
|
||||||
otherIrc.queueMsg(ircmsgs.topic(channel, topic))
|
if otherIrc.state.getTopic(channel) != topic:
|
||||||
|
otherIrc.queueMsg(ircmsgs.topic(channel,topic))
|
||||||
|
except KeyError:
|
||||||
|
self.log.warning('Odd, not on %s on %s -- '
|
||||||
|
'Can\'t synchronize topics.',
|
||||||
|
channel, otherIrc.server)
|
||||||
|
|
||||||
return msg
|
return msg
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user