'failed to connect' log line needs 2 "%s"s

This commit is contained in:
jesopo 2019-03-09 20:21:15 +00:00
parent 2d949391a6
commit 1fcbdd305c

View file

@ -94,7 +94,7 @@ class Bot(object):
try:
server.connect()
except Exception as e:
self.log.warn("Failed to connect to %s",
self.log.warn("Failed to connect to %s: %s",
[str(server), str(e)])
return False
self.servers[server.fileno()] = server