From 8e130027f04f6574c2af7773b36b73bea97cfc24 Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 22 Apr 2024 12:48:57 +0300 Subject: [PATCH] auth-request-data-log --- services/auth.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/auth.py b/services/auth.py index 5eaf3977..8580ada6 100644 --- a/services/auth.py +++ b/services/auth.py @@ -34,7 +34,9 @@ async def request_data(gql, headers=None): return data except Exception as e: # Handling and logging exceptions during authentication check + import traceback logger.error(f"request_data error: {e}") + logger.error(traceback.format_exc()) return None