Готово к тестированию

This commit is contained in:
2025-08-22 01:07:07 +07:00
parent 8d3fea2908
commit 535ebfff16
2 changed files with 2 additions and 2 deletions

View File

@@ -5,4 +5,4 @@ COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
COPY . . COPY . .
CMD [ "python", "src/CoreFun.py" ] CMD [ "python", "src/test.py" ]

View File

@@ -817,7 +817,7 @@ async def main():
except KeyboardInterrupt: except KeyboardInterrupt:
logging.info("Боты остановлены по запросу пользователя") logging.info("Боты остановлены по запросу пользователя")
except Exception as e: except Exception as e:
logging.error(f"Произошла критическая ошибка: {e}") logging.error(f"Произошла критическая ошибка: {e}", exc_info=e)
finally: finally:
if admin_bot is not None: if admin_bot is not None:
await admin_bot.BotOff() await admin_bot.BotOff()