diff --git a/web/server/utils/notify.py b/web/server/utils/notify.py index c449752..b59c94e 100644 --- a/web/server/utils/notify.py +++ b/web/server/utils/notify.py @@ -12,7 +12,7 @@ class MessageStatus(Enum): def send_message(text: str, silent: bool = False, status: MessageStatus = "ERROR") -> None: - return True + # return True if not config.TELEGRAM_BOT_TOKEN or not config.TELEGRAM_ADMIN_ID: logger.warning("Can't send log messages, because of lack of some informations. Ignore....") return