fix(bible): adding some troubleshooting code

This commit is contained in:
Seaswimmer 2024-02-02 01:47:17 -05:00
parent acc883af20
commit 7597dcf5f7
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -114,8 +114,9 @@ class Bible(commands.Cog):
async with self.session.get(url, headers=headers, params=params) as response: async with self.session.get(url, headers=headers, params=params) as response:
data = await response.json() data = await response.json()
self.logger.debug( 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.status,
response.url,
json.dumps(data), json.dumps(data),
) )
if response.status == 401: if response.status == 401: