diff --git a/services/auth.py b/services/auth.py index e116c7af..1596ad51 100644 --- a/services/auth.py +++ b/services/auth.py @@ -16,7 +16,9 @@ async def check_auth(req): async with aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=30.0)) as session: async with session.post(AUTH_URL, json=gql) as response: - print(response) + response_text = await response.text() + print(f"[services.auth] response text: {response_text}") + if response.status != 200: return False, None r = await response.json()