diff --git a/tgram/tgbot.py b/tgram/tgbot.py index e09acab..b844496 100644 --- a/tgram/tgbot.py +++ b/tgram/tgbot.py @@ -154,7 +154,7 @@ def add_handler(self, handler: "tgram.handlers.Handler") -> None: logger.info( "(%s) added to %s handlers", handler.callback.__name__, - "Update." + handler.type if handler.type != "all" else "all", + ("Update." + handler.type if handler.type != "all") else "all", ) self._handlers.append(handler)