thread-id-fix
All checks were successful
deploy / deploy (push) Successful in 1m12s

This commit is contained in:
2023-12-22 13:08:35 +03:00
parent 999fafac71
commit 051d35869b
3 changed files with 10 additions and 2 deletions

View File

@@ -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