mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[SimpleSort] Don't log file deletion errors
This commit is contained in:
@@ -405,7 +405,14 @@ namespace SabreTools
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Now remove this temporary file
|
// 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)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.Error(ex.ToString());
|
// Don't log file deletion errors
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -458,7 +465,7 @@ namespace SabreTools
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.Error(ex.ToString());
|
// Don't log file deletion errors
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -477,7 +484,7 @@ namespace SabreTools
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
_logger.Error(ex.ToString());
|
// Don't log file deletion errors
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user