From ef5391787ab9e71f20fc4eb36b79e37333bc2381 Mon Sep 17 00:00:00 2001 From: SouthFox Date: Sun, 10 Mar 2024 00:53:33 +0800 Subject: [PATCH] [revert] remove error except for send follow --- tasks.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/tasks.py b/tasks.py index f6c3419..d696bbb 100644 --- a/tasks.py +++ b/tasks.py @@ -76,11 +76,7 @@ def follow(ctx): async def _dodo(): async with async_session() as db_session: #type: ignore - try: - await send_follow(db_session,acct) - except Exception as e: - print(f"ERROR: Failed to {e}") - return + await send_follow(db_session,acct) print("Done!")