fix(bot): early exit for processed posts

This commit is contained in:
2026-07-29 23:13:38 +05:00
parent 51f6e417bd
commit f0f9932420
2 changed files with 21 additions and 12 deletions
+2
View File
@@ -28,9 +28,11 @@ async def main():
except (ValueError, TypeError) as e:
logger.critical(f"Ошибка в конфигурации или при запуске: {e}")
raise
except Exception as e:
logger.critical(f"Фатальная ошибка при запуске бота: {e}")
raise
if __name__ == "__main__":