Scripts: image lists propagate the page item list's run error

Cause: main's fe89d3f8 changed page_items to return a Result, since
building the list again now counts against the run's host-call allowance.
The image collections' list builder still used the old return type, so
vectorcraft-engine did not compile once main was merged in, and every
gate shard failed. The builder now passes the error on with `?`, as the
path and text lists do.
This commit is contained in:
dotCooCoo committed 2026-12-01 02:37:29 -08:00
1 parent 99bea87cff
commit 08bc2d2009
1 file changed
+1 -1
+1 -1
View File
@@ -144,7 +144,7 @@ fn images(h: &Host, st: &DocState, placed: bool) -> Result<Rc<Vec<NodeId>>, Host
{
return Ok(pick(l));
}
let all = page_items(h, st);
let all = page_items(h, st)?;
h.charge_call(all.len() as u64)?;
let (mut linked, mut embedded) = (Vec::new(), Vec::new());
for id in all.iter() {