From f439ca816738fe3e1b87b623e42e592f6f435184 Mon Sep 17 00:00:00 2001 From: chenxudong Date: Mon, 11 Aug 2025 11:25:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=B0=83=E7=94=A8=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=98=BE=E7=A4=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/install/InstallOrUpgradeComacDB.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/install/InstallOrUpgradeComacDB.py b/src/install/InstallOrUpgradeComacDB.py index ae0d2fe..efcc430 100644 --- a/src/install/InstallOrUpgradeComacDB.py +++ b/src/install/InstallOrUpgradeComacDB.py @@ -48,7 +48,9 @@ def update_service(cmd): result = subprocess.run(command, capture_output=True, text=True) if result.returncode != 0: + logger.info(result.stdout) logger.warning(f"操作失败,cmd is {cmd}") + logger.error(result.stderr) else: logger.info(f"操作成功,cmd is {cmd}") pass