print full path

This commit is contained in:
Quaternions 2023-10-27 18:10:05 -07:00
parent 6df1f41599
commit a7518bef46

View File

@ -407,7 +407,7 @@ fn convert_textures() -> AResult<()>{
for entry in std::fs::read_dir("textures/unprocessed")? { for entry in std::fs::read_dir("textures/unprocessed")? {
let file_thing=entry?; let file_thing=entry?;
threads.push(std::thread::spawn(move ||{ threads.push(std::thread::spawn(move ||{
let file_name=file_thing.file_name(); let file_name=format!("{:?}",file_thing);
let result=convert(file_thing); let result=convert(file_thing);
if let Err(e)=result{ if let Err(e)=result{
println!("error processing file:{:?} error message:{:?}",file_name,e); println!("error processing file:{:?} error message:{:?}",file_name,e);