From 3572df13dea1738d8d475c73a8cc76403f6bd96b Mon Sep 17 00:00:00 2001 From: MordechaiHadad Date: Wed, 11 Sep 2024 10:47:12 +0300 Subject: [PATCH] remove the print statement --- src/handlers/use_handler.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/handlers/use_handler.rs b/src/handlers/use_handler.rs index 2ba9111..f16e389 100644 --- a/src/handlers/use_handler.rs +++ b/src/handlers/use_handler.rs @@ -265,7 +265,6 @@ async fn copy_file_with_error_handling(old_path: &Path, new_path: &Path) -> Resu Err(e) => { match e.raw_os_error() { Some(26) | Some(32) => { - eprintln!("Error: The file is busy. Please make sure to close any processes using it."); Err(anyhow::anyhow!( "The file {} is busy. Please make sure to close any processes using it.", old_path.display()