From 08bc2d20097421d2e448ad2789b1e7a8f7b62f76 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Tue, 1 Dec 2026 02:37:29 -0800 Subject: [PATCH] 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. --- crates/engine/src/script/dom/images.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/engine/src/script/dom/images.rs b/crates/engine/src/script/dom/images.rs index 81e11ec177..29adc7ad6a 100644 --- a/crates/engine/src/script/dom/images.rs +++ b/crates/engine/src/script/dom/images.rs @@ -144,7 +144,7 @@ fn images(h: &Host, st: &DocState, placed: bool) -> Result>, 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() {