From 71f4b3ad7785f183780bf05adc72af8d33a51efe Mon Sep 17 00:00:00 2001 From: limm <1848824287@qq.com> Date: Mon, 10 Nov 2025 16:18:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E9=94=99=E8=AF=AF=E4=BF=A1=E6=81=AF=E6=97=B6?= =?UTF-8?q?=E7=9A=84=E5=8F=98=E9=87=8F=E5=BC=95=E7=94=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 9628317..3134e5f 100644 --- a/app.py +++ b/app.py @@ -554,7 +554,8 @@ def read_process_output(process, app_name): }) except Exception as e: - logger.exception(f"Error reading output for {app_name}: {e}") + error_msg = f"Error reading output for {app_name}: {e}" + logger.exception(error_msg) write_log_to_file(app_name, f"[{datetime.now().strftime('%H:%M:%S')}] {error_msg}") break