diff --git a/src/ytd.rs b/src/ytd.rs index c180f76..4d628dc 100644 --- a/src/ytd.rs +++ b/src/ytd.rs @@ -76,7 +76,10 @@ impl YoutubeDL { if !path.exists() { // if not create if let Err(why) = create_dir_all(&path) { - return Err(format!("Error while creating directories: {:?}", why)); + return Err(format!( + "Error while creating directories {}: {:?}", + dl_path, why + )); } }