aboutsummaryrefslogtreecommitdiff
path: root/bitbotd
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-25 14:18:22 +0100
committerGravatar jesopo2019-10-25 14:18:22 +0100
commit226ebe1f1f091d173ede8c9808049ec0c3bedbdb (patch)
tree467bd5273ba3fab2412a220cb9b2850800f5e680 /bitbotd
parentbot.panic() should just call sys.exit() (diff)
signature
DEBUG log IRCBot.connect failure stacktrace
Diffstat (limited to 'bitbotd')
-rwxr-xr-xbitbotd2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbotd b/bitbotd
index 7bd15e73..c3396d04 100755
--- a/bitbotd
+++ b/bitbotd
@@ -157,7 +157,7 @@ if len(server_configs):
for server in servers:
if not bot.connect(server):
- log.error("Failed to connect to '%s'" % str(server))
+ log.error("Failed to connect to '%s'", [str(server)], exc_info=True)
if not args.startup_disconnects:
sys.exit(3)