Specify reason when connection lost.

This commit is contained in:
Steve Dougherty 2013-08-27 23:14:25 -04:00
parent 5973651f13
commit 1b1ecba711
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class IRCRelayer(irc.IRCClient):
self.join(self.channel, "")
def connectionLost(self, reason):
log.msg("[{0}] Connection lost.".format(self.network))
log.msg("[{0}] Connection lost: \"{1}\"".format(self.network, reason))
def sayToChannel(self, message):
self.say(self.channel, message)