Fix batch error messages showing file names.
This commit is contained in:
parent
7efbad2ae9
commit
b2ef362954
@ -1401,7 +1401,7 @@ namespace Toolbox
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
failedFiles.Add($"{file} \n Error:\n {ex} \n");
|
||||
failedFiles.Add($"{file.FileName} \n Error:\n {ex} \n");
|
||||
}
|
||||
|
||||
SearchFileFormat(form.BatchSettings, fileFormat, extension, outputFolder, ExportMode.Models);
|
||||
@ -1448,7 +1448,7 @@ namespace Toolbox
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
failedFiles.Add($"{file} \n Error:\n {ex} \n");
|
||||
failedFiles.Add($"{file.FileName} \n Error:\n {ex} \n");
|
||||
}
|
||||
|
||||
SearchFileFormat(form.BatchSettings, fileFormat, extension, outputFolder, ExportMode.Textures);
|
||||
|
Loading…
x
Reference in New Issue
Block a user