forked from blizzthewolf/SeaCogs
fix(bible): adding some troubleshooting code
This commit is contained in:
parent
acc883af20
commit
7597dcf5f7
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue