1
0
mirror of https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git synced 2025-08-14 00:25:46 +02:00
This commit is contained in:
MoonTestUse1
2024-12-25 20:33:47 +06:00
parent f9924eb28f
commit 674ba6d254
4 changed files with 19 additions and 12 deletions

View File

@@ -9,10 +9,11 @@ logger = getLogger(__name__)
async def run_bot():
"""Run Telegram bot"""
try:
await start_bot()
except Exception as e:
logger.error(f"Bot crashed: {e}", exc_info=True)
print("Bot started")
# try:
# await start_bot()
# except Exception as e:
# logger.error(f"Bot crashed: {e}", exc_info=True)
async def run_api():