mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-22 12:18:09 +00:00
Log the payload sent temporarily in order to help with debugging
This commit is contained in:
parent
7ca2553d17
commit
bcc1bc6854
1 changed files with 1 additions and 0 deletions
|
@ -232,6 +232,7 @@ async def auth(request: Request):
|
|||
|
||||
if verified_data.status_code != 200:
|
||||
logger.error(f"Token request failed: {verified_data.text}")
|
||||
logger.error(f"Payload sent: {payload}")
|
||||
try:
|
||||
error_json = verified_data.json()
|
||||
logger.error(f"Error response JSON for Google verification: {error_json}")
|
||||
|
|
Loading…
Reference in a new issue