From 2aa0e5a1e8f8c86febdb3ca16c9811aa192e10b9 Mon Sep 17 00:00:00 2001 From: MCorange Date: Sun, 11 Jan 2026 21:17:36 +0200 Subject: [PATCH] Change behavour when tool is missing Dont die when tool is missing --- xmpd-cache/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xmpd-cache/src/lib.rs b/xmpd-cache/src/lib.rs index 346f82f..3b1d6e4 100644 --- a/xmpd-cache/src/lib.rs +++ b/xmpd-cache/src/lib.rs @@ -55,7 +55,9 @@ impl Cache { } } } - anyhow::bail!("Tool {} was not found", tool_path) + // anyhow::bail!("Tool {} was not found", tool_path) + log::error!("Tool {tool_path:?} doesnt exist!"); + Ok(()) } pub fn init(&mut self) -> Result> { // Check for missing tooling