Timothy Jaeryang Baek 2 周之前
父節點
當前提交
f7b0fdde2a
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      backend/open_webui/routers/configs.py

+ 2 - 1
backend/open_webui/routers/configs.py

@@ -199,9 +199,10 @@ async def verify_tool_servers_config(
     except HTTPException as e:
         raise e
     except Exception as e:
+        log.debug(f"Failed to connect to the tool server: {e}")
         raise HTTPException(
             status_code=400,
-            detail=f"Failed to connect to the tool server: {str(e)}",
+            detail=f"Failed to connect to the tool server",
         )