3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-28 05:29:25 +01:00

Irc: reword error message from last commit to be more concise

This commit is contained in:
James Lu 2017-05-09 18:19:14 -07:00
parent bac6dc36b4
commit 701f01fa4f

View File

@ -510,7 +510,7 @@ class Irc(utils.DeprecatedAttributesObject):
try: try:
self.socket.send(data) self.socket.send(data)
except (OSError, AttributeError): except (OSError, AttributeError):
log.exception("(%s) Dropping message %r; network isn't connected!", self.name, stripped_data) log.exception("(%s) Failed to send message %r; did the network disconnect?", self.name, stripped_data)
def send(self, data, queue=True): def send(self, data, queue=True):
"""send() wrapper with optional queueing support.""" """send() wrapper with optional queueing support."""