From c42c0436f269a5f1059156b88780ef0aa8dfcd27 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Tue, 23 Sep 2025 03:33:24 -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 4601e332f5..1eab8b6844 100644 --- a/backend/open_webui/routers/configs.py +++ b/backend/open_webui/routers/configs.py @@ -164,9 +164,10 @@ async def verify_tool_servers_config( "specs": specs, } except Exception as e: + log.debug(f"Failed to create MCP client: {e}") raise HTTPException( status_code=400, - detail=f"Failed to create MCP client: {str(e)}", + detail=f"Failed to create MCP client", ) finally: if client: