[SimpleSort] Don't log file deletion errors

This commit is contained in:
Matt Nadareski
2016-06-15 16:00:40 -07:00
parent d1a1233e90
commit f9c32082c8

View File

@@ -405,7 +405,14 @@ namespace SabreTools
}
// Now remove this temporary file
File.Delete(newinput);
try
{
File.Delete(newinput);
}
catch
{
// Don't log file deletion errors
}
}
}
@@ -437,7 +444,7 @@ namespace SabreTools
}
catch (Exception ex)
{
_logger.Error(ex.ToString());
// Don't log file deletion errors
}
}
}
@@ -458,7 +465,7 @@ namespace SabreTools
}
catch (Exception ex)
{
_logger.Error(ex.ToString());
// Don't log file deletion errors
}
}
@@ -477,7 +484,7 @@ namespace SabreTools
}
catch (Exception ex)
{
_logger.Error(ex.ToString());
// Don't log file deletion errors
}
}