Готово к тестированию
This commit is contained in:
@@ -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" ]
|
||||||
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user