From 1fcbdd305c0086cd5ca9be9b30d0fe414ddfc372 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sat, 9 Mar 2019 20:21:15 +0000 Subject: [PATCH] 'failed to connect' log line needs 2 "%s"s --- src/IRCBot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IRCBot.py b/src/IRCBot.py index abc37e37..dc5f978d 100644 --- a/src/IRCBot.py +++ b/src/IRCBot.py @@ -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