mirror of
https://github.com/semantica-agi/semantica.git
synced 2026-08-29 04:26:20 +00:00
Potential fix for pull request finding 'Empty except'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
parent
9daddd8186
commit
09666806da
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user