fix(bible): adding some troubleshooting code
All checks were successful
Actions / Lint Code (Pylint) (push) Successful in 16s
Actions / Build Documentation (MkDocs) (push) Successful in 11s

This commit is contained in:
Seaswimmer 2024-02-02 01:47:17 -05:00
parent acc883af20
commit 7597dcf5f7
Signed by: 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:
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: