fix(bible): added more debug logging

This commit is contained in:
Seaswimmer 2024-02-01 18:17:30 -05:00
parent 89bdf5583c
commit 162d669502
Signed by untrusted user: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -42,6 +42,7 @@ class Bible(commands.Cog):
headers = await self.bot.get_shared_api_tokens("api.bible") headers = await self.bot.get_shared_api_tokens("api.bible")
async with self.session.get(url, headers=headers) as response: async with self.session.get(url, headers=headers) as response:
data = await response.json() data = await response.json()
self.logger.debug(passage_id)
self.logger.debug(json.dumps(data)) self.logger.debug(json.dumps(data))
return data["data"] return data["data"]