From 40ac53d32d8d8327aee1821d61a2f5341a381cbe Mon Sep 17 00:00:00 2001 From: Untone Date: Mon, 18 Dec 2023 02:14:02 +0300 Subject: [PATCH] traceback-debug --- services/auth.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/auth.py b/services/auth.py index bcd8cec..0e2cc1d 100644 --- a/services/auth.py +++ b/services/auth.py @@ -62,6 +62,9 @@ async def check_auth(req) -> (bool, int | None): pass except Exception as e: + import traceback + + traceback.print_exc() # Handling and logging exceptions during authentication check print(f"[services.auth] {e}")