diff --git a/Dockerfile b/Dockerfile index b758cd7..9aa2a9a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,4 +5,4 @@ COPY requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY . . -CMD [ "python", "src/CoreFun.py" ] \ No newline at end of file +CMD [ "python", "src/test.py" ] \ No newline at end of file diff --git a/src/CoreFun.py b/src/CoreFun.py index 00309a0..c5a9295 100644 --- a/src/CoreFun.py +++ b/src/CoreFun.py @@ -817,7 +817,7 @@ async def main(): except KeyboardInterrupt: logging.info("Боты остановлены по запросу пользователя") except Exception as e: - logging.error(f"Произошла критическая ошибка: {e}") + logging.error(f"Произошла критическая ошибка: {e}", exc_info=e) finally: if admin_bot is not None: await admin_bot.BotOff()