summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/fot.py b/fot.py
index 663069d..ae6d564 100755
--- a/fot.py
+++ b/fot.py
@@ -97,9 +97,11 @@ class BotFactory(protocol.ReconnectingClientFactory):
return protocol.ReconnectingClientFactory.buildProtocol(self, addr)
def clientConnectionFailed(self, connector, reason):
+ print 'Connection failed: ', reason
protocol.ReconnectingClientFactory.clientConnectionFailed(self, connector, reason)
def clientConnectionLost(self, connector, reason):
+ print 'Connection lost: ', reason
protocol.ReconnectingClientFactory.clientConnectionLost(self, connector, reason)
print 'Starting per-network instances...'