diff --git a/main.py b/main.py index 648cb57..13826fe 100644 --- a/main.py +++ b/main.py @@ -115,7 +115,7 @@ async def send_post(post: E621Post, tag_list: List[str]): parse_mode=ParseMode.HTML, reply_markup=markup) await redis.sadd('e621:sent', post.id) - except exceptions.TelegramAPIError as e: + except Exception as e: logging.exception(e)