mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 12:42:34 +01:00
Added logging of ERRORs from server.
This commit is contained in:
parent
de72ad4026
commit
223ac90fde
@ -579,6 +579,7 @@ class Irc(IrcCommandDispatcher):
|
||||
|
||||
def doError(self, msg):
|
||||
"""Handles ERROR messages."""
|
||||
log.info('Error message from %s: %s', self.server, msg.args[0])
|
||||
if msg.args[0].startswith('Closing Link'):
|
||||
self.driver.reconnect()
|
||||
elif 'too fast' in msg.args[0]:
|
||||
|
Loading…
Reference in New Issue
Block a user