From 9847add19c489cacb4314d1944ab125c3e40fef8 Mon Sep 17 00:00:00 2001 From: James Devine Date: Tue, 5 May 2026 22:35:08 +0100 Subject: [PATCH] fix(compile): show full error chain in batch compile output When compiling all pipelines, errors were printed with Display format ({}) which only showed the outermost anyhow context ('Failed to parse YAML front matter'). The underlying serde error with the specific unknown field name was swallowed. Switch to alternate Display format ({:#}) which prints the full error chain, so users see the specific parse failure (e.g. 'unknown field \safeoutputs\, expected one of \ ame\, \description\, ...'). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/compile/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile/mod.rs b/src/compile/mod.rs index a8fc2049..bad700eb 100644 --- a/src/compile/mod.rs +++ b/src/compile/mod.rs @@ -243,7 +243,7 @@ pub async fn compile_all_pipelines(skip_integrity: bool, debug_pipeline: bool) - Ok(()) => success_count += 1, Err(e) => { eprintln!( - " Error compiling '{}': {}", + " Error compiling '{}': {:#}", pipeline.source, e ); fail_count += 1;