This commit is contained in:
@@ -24,7 +24,7 @@ async def get_all_authors():
|
||||
import traceback
|
||||
|
||||
traceback.print_exc()
|
||||
print(f"[services.core] {query_name}: {response.status_code} {response.text}")
|
||||
print(f"[services.core] {query_name}: {response.status_code} {len(response.text)} bytes")
|
||||
if response.status_code != 200:
|
||||
return None
|
||||
r = response.json()
|
||||
@@ -50,7 +50,7 @@ async def get_my_followings():
|
||||
import traceback
|
||||
|
||||
traceback.print_exc()
|
||||
print(f"[services.core] {query_name}: {response.status_code} {response.text}")
|
||||
print(f"[services.core] {query_name}: {response.status_code} {len(response.text)} bytes")
|
||||
if response.status_code != 200:
|
||||
return None
|
||||
r = response.json()
|
||||
|
Reference in New Issue
Block a user