diff --git a/graphify/__main__.py b/graphify/__main__.py index 2505a56b7..3d06936cf 100644 --- a/graphify/__main__.py +++ b/graphify/__main__.py @@ -4395,7 +4395,7 @@ def _progress(idx: int, total: int, _result: dict) -> None: print("[graphify extract] introspecting Cargo workspace...") try: cargo_result = introspect_cargo(target) - except (ConnectionError, ImportError) as exc: + except (ConnectionError, ImportError, OSError) as exc: print(f"error: {exc}", file=sys.stderr) sys.exit(1) print(f"[graphify extract] Cargo: {len(cargo_result['nodes'])} nodes, "