From bcc1bc68542875ded996281d174d8341bd738583 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Tue, 17 Dec 2024 15:37:42 -0800 Subject: [PATCH] Log the payload sent temporarily in order to help with debugging --- src/khoj/routers/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/khoj/routers/auth.py b/src/khoj/routers/auth.py index 7ea58432..022d4c92 100644 --- a/src/khoj/routers/auth.py +++ b/src/khoj/routers/auth.py @@ -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}")