From 6f7627bddb1912f937fb1d1eda3008ddd7c241d2 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Sun, 16 Apr 2023 19:17:11 +0800 Subject: [PATCH] Update manage.py --- appmanage/api/service/manage.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index 0ec875dc..d5c91e46 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -105,6 +105,7 @@ def start_app(app_id): def stop_app(app_id): code, message = docker.check_app_id(app_id) + myLogger.info_logger(message) if code == None: app_name = split_app_id(app_id) info, flag = app_exits_in_docker(app_id) @@ -115,6 +116,7 @@ def stop_app(app_id): else: raise CommandException(const.ERROR_CLIENT_PARAM_NOTEXIST, "APP is not exist", "") else: + myLogger.info_logger("check app failed") raise CommandException(code, message, "")