mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-29 14:12:39 +01:00
Don't loop infinitely if _send fails...
This commit is contained in:
parent
b254a7f971
commit
15d51b3455
@ -2105,6 +2105,7 @@ class IRCNetwork(PyLinkNetworkCoreWithUtils):
|
|||||||
except:
|
except:
|
||||||
log.exception("(%s) Failed to send message %r; aborting!", self.name, data)
|
log.exception("(%s) Failed to send message %r; aborting!", self.name, data)
|
||||||
self.disconnect()
|
self.disconnect()
|
||||||
|
return
|
||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user