aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris <[email protected]>2021-01-08 20:57:57 +0000
committerGravatar Chris <[email protected]>2021-01-08 20:57:57 +0000
commit92f1ee13d71fd4f72edc8e24488115a2294421f8 (patch)
tree5bc62e4bf4139458d8297827706ad25a86e888ca
parentSwitch to post requests and start task at right time. (diff)
Add OAuth response to warning.
-rw-r--r--bot/exts/evergreen/game.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/bot/exts/evergreen/game.py b/bot/exts/evergreen/game.py
index 680724c2..d37be0e2 100644
--- a/bot/exts/evergreen/game.py
+++ b/bot/exts/evergreen/game.py
@@ -171,7 +171,10 @@ class Games(Cog):
f"OAuth response message: {result['message']}"
)
else:
- logger.warning("Invalid OAuth credentials. Unloading Games cog.")
+ logger.warning(
+ "Invalid OAuth credentials. Unloading Games cog. "
+ f"OAuth response message: {result['message']}"
+ )
self.bot.remove_cog('Games')
return