Update error_handler.py

This commit is contained in:
Kostiantyn Kriuchkov 2021-10-05 17:55:02 +03:00 committed by GitHub
parent 05376e04fd
commit 7c151a4077
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,8 +1,7 @@
import logging import logging
from aiogram.utils.exceptions import (Unauthorized, InvalidQueryID, TelegramAPIError, from aiogram.utils.exceptions import (TelegramAPIError,
CantDemoteChatCreator, MessageNotModified, MessageToDeleteNotFound, MessageNotModified,
MessageTextIsEmpty, RetryAfter, CantParseEntities)
CantParseEntities, MessageCantBeDeleted)
from loader import dp from loader import dp