This commit is contained in:
@@ -47,9 +47,10 @@ async def check_auth(req) -> str | None:
|
||||
print(f"[services.auth] got user_id: {user_id}")
|
||||
return user_id
|
||||
except Exception as e:
|
||||
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
# Handling and logging exceptions during authentication check
|
||||
print(f"[services.auth] {e}")
|
||||
print(f"[services.auth] Error {e}")
|
||||
|
||||
return None
|
||||
|
||||
|
Reference in New Issue
Block a user