From f0c8df32811c47876c04180de92ccc2d0c4982ae Mon Sep 17 00:00:00 2001 From: qiaofeng1227 <76487013@qq.com> Date: Tue, 23 May 2023 10:28:15 +0800 Subject: [PATCH] create time --- appmanage/api/service/manage.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/appmanage/api/service/manage.py b/appmanage/api/service/manage.py index 238788e3..946bc827 100644 --- a/appmanage/api/service/manage.py +++ b/appmanage/api/service/manage.py @@ -284,9 +284,9 @@ def get_createtime(official_app, app_path, customer_name): result = shell_execute.execute_command_output_all(cmd)["result"].rstrip('\n') data_time = result - except Exception: - pass - + except Exception as e: + myLogger.info_logger(str(e)) + myLogger.info_logger("get_createtime get success"+data_time) return data_time def get_apps_from_compose():