From f7b0fdde2aa3cf761e4588af2aa92a55ad557442 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 23 Sep 2025 03:42:25 -0400 Subject: [PATCH] refac --- backend/open_webui/routers/configs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/open_webui/routers/configs.py b/backend/open_webui/routers/configs.py index 3c32d551d8..31d7bce404 100644 --- a/backend/open_webui/routers/configs.py +++ b/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", )