extract_all: nested extraction failures must quarantine relative to out root

This commit is contained in:
2026-10-05 13:51:39 +02:00
parent 04baa2fd2a
commit 7a046a3d65
+1 -1
View File
@@ -129,7 +129,7 @@ def expand_nested(dest: Path, out_root: Path, manifest, src_root: Path,
ok, err = extract(p, stem_dir)
if not ok:
log.error("FAILED nested extraction %s: %s", p, err)
move_to_broken(p, out_root, src_root, err)
move_to_broken(p, out_root, out_root, err)
continue
manifest.write(f"{json_line(p.relative_to(out_root), stem_dir)}\n")
done.add(str(stem_dir.relative_to(out_root)))