From 969cc68a71a21b60d356cfc4db9fd3751587728c Mon Sep 17 00:00:00 2001 From: Quaternions <krakow20@gmail.com> Date: Mon, 11 Sep 2023 19:53:42 -0700 Subject: [PATCH] fail better --- src/main.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main.rs b/src/main.rs index 00e9489..c2f0243 100644 --- a/src/main.rs +++ b/src/main.rs @@ -194,7 +194,13 @@ fn replace() -> Result<(), Box<dyn std::error::Error>>{ println!("failed to get replacement source {}",replace_id); any_failed=true; } + }else{ + println!("failed to failed to get replace_id and replace_script"); + any_failed=true; } + }else{ + println!("failed to failed to get source"); + any_failed=true; } } if any_failed {