From c8ee68b2dce2ade729e48af3b42c5a9c0c819e41 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Tue, 16 Dec 2025 14:48:03 +0700 Subject: [PATCH] Add todo for handle_nonstop_fail --- src/bin/repo.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/repo.rs b/src/bin/repo.rs index 9328a3fd..77ec0422 100644 --- a/src/bin/repo.rs +++ b/src/bin/repo.rs @@ -220,7 +220,9 @@ fn main_inner() -> anyhow::Result<()> { if verbose { eprintln!("{:?}", e); } - let _ = handle_nonstop_fail(recipe).map_err(|e| eprintln!("{:?}", e)); + if let Err(e) = handle_nonstop_fail(recipe) { + eprintln!("{:?}", e) + }; } print_failed(&command, &recipe.name); if !config.cook.nonstop { @@ -1053,6 +1055,7 @@ fn run_tui_cook( if cooker_prompting.load(Ordering::SeqCst) == 4 { break 'done; } + // TODO: where to report error? let _ = handle_nonstop_fail(&recipe); break; }