summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfot.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fot.py b/fot.py
index 2fedee6..6ed05c0 100755
--- a/fot.py
+++ b/fot.py
@@ -110,11 +110,11 @@ class BotFactory(protocol.ReconnectingClientFactory):
print 'Connecting to', connector.host
def clientConnectionFailed(self, connector, reason):
- print 'Connection failed:', reason
+ print 'Connection failed:', reason.getErrorMessage()
protocol.ReconnectingClientFactory.clientConnectionFailed(self, connector, reason)
def clientConnectionLost(self, connector, reason):
- print 'Connection lost:', reason
+ print 'Connection lost:', reason.getErrorMessage()
protocol.ReconnectingClientFactory.clientConnectionLost(self, connector, reason)
def start_server(server):