Skip to content

Commit

Permalink
remove the print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
MordechaiHadad committed Sep 11, 2024
1 parent 9df5d54 commit 3572df1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/handlers/use_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 3572df1

Please sign in to comment.