diff --git a/telegram.py b/telegram.py index e2ac9cda..9b4e39a1 100644 --- a/telegram.py +++ b/telegram.py @@ -231,11 +231,7 @@ class Chat: # TODO: This could give problems if a class inherits Bot if not isinstance(bot, Bot): raise TypeError("bot is not an instance of Bot.") - # Catch TelegramAPI exceptions - try: - await bot.api_request("sendMessage", text=text, chat_id=self.chat_id, **params) - except TelegramAPIError as e: - print(f"[Telegram] sendMessage failed: {e.args[0]}") + await bot.api_request("sendMessage", text=text, chat_id=self.chat_id, **params) class User: