From a7518bef46a14624e487c95aecf9ab20f6e9aafb Mon Sep 17 00:00:00 2001 From: Quaternions Date: Fri, 27 Oct 2023 18:10:05 -0700 Subject: [PATCH] print full path --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 645e026..10ea31e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -407,7 +407,7 @@ fn convert_textures() -> AResult<()>{ for entry in std::fs::read_dir("textures/unprocessed")? { let file_thing=entry?; threads.push(std::thread::spawn(move ||{ - let file_name=file_thing.file_name(); + let file_name=format!("{:?}",file_thing); let result=convert(file_thing); if let Err(e)=result{ println!("error processing file:{:?} error message:{:?}",file_name,e);