aboutsummaryrefslogtreecommitdiff
path: root/discord/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'discord/client.py')
-rw-r--r--discord/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/client.py b/discord/client.py
index 8fbb200a..a4a0fb2e 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -548,7 +548,7 @@ class Client(object):
self._create_websocket(gateway.json().get('url'), reconnect=False)
self._is_logged_in = True
else:
- log.error(request_logging_format.format(name='login', response=response))
+ log.error(request_logging_format.format(name='login', response=r))
def logout(self):
"""Logs out of Discord and closes all connections."""