From 535ebfff1683946b09530c0671702251b5969aa1 Mon Sep 17 00:00:00 2001 From: HypoxiE Date: Fri, 22 Aug 2025 01:07:07 +0700 Subject: [PATCH] =?UTF-8?q?=D0=93=D0=BE=D1=82=D0=BE=D0=B2=D0=BE=20=D0=BA?= =?UTF-8?q?=20=D1=82=D0=B5=D1=81=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD?= =?UTF-8?q?=D0=B8=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 2 +- src/CoreFun.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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()