1
0
mirror of synced 2025-01-31 12:23:52 +01:00

Fix batch error messages showing file names.

This commit is contained in:
KillzXGaming 2020-04-29 23:07:59 -04:00 committed by GitHub
parent 7efbad2ae9
commit b2ef362954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);