diff --git a/mcp/tools/graph.py b/mcp/tools/graph.py index 41a56abb..5508025b 100644 --- a/mcp/tools/graph.py +++ b/mcp/tools/graph.py @@ -92,7 +92,7 @@ def handle_get_graph_summary(args: dict) -> dict: # noqa: ARG001 try: edge_count = graph.edge_count() except Exception: - pass + log.exception("graph.edge_count failed; defaulting edge_count to 0") return { "node_count": len(all_nodes), "edge_count": edge_count,