From 8cac67986c3787129c9193b240d80ea759b378e8 Mon Sep 17 00:00:00 2001 From: Untone Date: Wed, 11 Oct 2023 22:31:44 +0300 Subject: [PATCH] somefixes --- services/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/core.py b/services/core.py index 1c629ed..d6bc091 100644 --- a/services/core.py +++ b/services/core.py @@ -47,7 +47,7 @@ async def get_network(author_id, limit=50, offset=0): if more_amount > 0: followers = get_followers(author_id, more_amount) except Exception as e: - pass + print(e) return followings + followers @@ -67,6 +67,6 @@ async def get_followers(author_id, amount): return False, None r = response.json() followers = r.get("data", {}).get("authorFollowers", []) - except Exception: + except Exception as e: followers = [] return followers