less-logs
Some checks failed
deploy / deploy (push) Failing after 1m0s

This commit is contained in:
Untone 2023-12-19 11:33:49 +03:00
parent be7bf90f0b
commit 65eaa7b6cb

View File

@ -12,7 +12,7 @@ authors_by_id = {}
async def _request_endpoint(query_name, body) -> Any:
async with ClientSession() as session:
async with session.post(API_BASE, headers=headers, json=body) as response:
print(f"[services.core] {query_name} response: <{response.status}> {await response.text()}")
print(f"[services.core] {query_name} response: <{response.status}> {(await response.text())[:15]}..")
if response.status == 200:
r = await response.json()
if r: