Graph-Native Infrastructure for Context and Accountable AI Systems
Python agent-memoryaiai-governanceai-infrastructureartificial-intelligencecontext-engineeringcontext-graphsdata-engineeringdecision-intelligencedeveloper-toolsexplainable-aigenerative-aigraph-ragknowledge-graphllmontologyprovenancepythonreasoningsemantic-search
Potential fix for pull request finding 'Empty except'
Mohd Kaif9daddd818664
diff --git a/mcp/resources/registry.py b/mcp/resources/registry.pyindex 78c2987f..052ee8c4 100644--- a/mcp/resources/registry.py+++ b/mcp/resources/registry.py@@ -27,8 +27,8 @@ def _read_graph_summary(uri: str) -> dict:if hasattr(graph, "edge_count"):try:edge_count = graph.edge_count()- except Exception:- pass+ except Exception as exc:+ log.debug("Unable to read graph edge_count(); defaulting to 0: %s", exc)data = {"node_count": len(all_nodes),"edge_count": edge_count,