From 3d2576ca24be065757cfd69f0da9651024f961e8 Mon Sep 17 00:00:00 2001 From: _run Date: Sun, 21 Aug 2022 20:42:55 +0500 Subject: [PATCH] Fixed bug with searching a new handler after the execution of handler --- telebot/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/telebot/__init__.py b/telebot/__init__.py index 4617788..1eb02fe 100644 --- a/telebot/__init__.py +++ b/telebot/__init__.py @@ -5950,6 +5950,7 @@ class TeleBot: return handler["function"](message, **data_copy) + break except Exception as e: handler_error = e if self.exception_handler: