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: