From 7597dcf5f7ddc999724d1113d83f17a3714fffaf Mon Sep 17 00:00:00 2001 From: SeaswimmerTheFsh Date: Fri, 2 Feb 2024 01:47:17 -0500 Subject: [PATCH] fix(bible): adding some troubleshooting code --- bible/bible.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bible/bible.py b/bible/bible.py index 43b34f1..41a20ec 100644 --- a/bible/bible.py +++ b/bible/bible.py @@ -114,8 +114,9 @@ class Bible(commands.Cog): async with self.session.get(url, headers=headers, params=params) as response: data = await response.json() self.logger.debug( - "_get_books executed with a response code of: %s\n%s", + "_get_books executed with a response code of: %s\nURL: %s\n%s", response.status, + response.url, json.dumps(data), ) if response.status == 401: