log all exceptions

This commit is contained in:
bakatrouble 2023-11-03 15:35:18 +03:00
parent bbb50fec8b
commit e4523b5cb8

View File

@ -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)