From fb469a3ee36b648286ea5f005c18d0734702e6cf Mon Sep 17 00:00:00 2001 From: 3030332422 <3030332422@qq.com> Date: Fri, 17 Apr 2026 15:09:57 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E5=94=A4=E9=86=92=E8=AF=8D?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=90=AF=E5=8A=A8=E5=A4=B1=E8=B4=A5=E4=B8=8D?= =?UTF-8?q?=E9=98=BB=E5=A1=9E=E6=B5=8B=E8=AF=95=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/xiaozhi-server/test/start_test_runtime.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/main/xiaozhi-server/test/start_test_runtime.py b/main/xiaozhi-server/test/start_test_runtime.py index a4b9facf..251bfc8f 100644 --- a/main/xiaozhi-server/test/start_test_runtime.py +++ b/main/xiaozhi-server/test/start_test_runtime.py @@ -35,8 +35,11 @@ def main() -> int: try: with app_lock: - app.setup() - app.start() + try: + app.setup() + app.start() + except Exception as e: + print(f"警告: 唤醒词服务启动失败({e}),测试页面仍可正常使用") http_server.serve_forever() except KeyboardInterrupt: print("test runtime stopped")