| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
| // Show failed MCP servers | ||
| if !porcelain && !all_tools.mcp.get_failures().is_empty() { | ||
| self.writeln("MCP FAILURES\n".dimmed().bold())?; | ||
| for (_, error) in all_tools.mcp.get_failures().iter() { |
There was a problem hiding this comment.
Critical bug: The server name is discarded (using _), so users won't know which MCP server failed. The original code showed [✗] {server_name} - {error}. Without the server name, it's impossible to identify which server is failing, especially when multiple servers fail.
// Fix: Include the server name in the output
for (server_name, error) in all_tools.mcp.get_failures().iter() {
let error_msg = format!("{}: {}", server_name, error);
self.writeln(style(error_msg).red())?;
}Spotted by Graphite
Is this helpful? React 👍 or 👎 to let us know.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Summary
Fix mcp list to display full MCP server error messages without truncation, shown in red after the server list.
Context
Previously, MCP failure messages were truncated to 80 characters with a trailing ..., making it impossible to read the full error — especially for multi-line errors like connection stack traces. This made diagnosing why an MCP server failed to initialize unnecessarily difficult.
Changes
Testing