mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-19 00:51:30 -07:00
make CleanupVersionsFolder handle all exceptions
This commit is contained in:
parent
632b6d4db4
commit
4da464197f
@ -663,7 +663,7 @@ namespace Bloxstrap
|
|||||||
{
|
{
|
||||||
Directory.Delete(dir, true);
|
Directory.Delete(dir, true);
|
||||||
}
|
}
|
||||||
catch (IOException ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
App.Logger.WriteLine(LOG_IDENT, $"Failed to delete {dir}");
|
App.Logger.WriteLine(LOG_IDENT, $"Failed to delete {dir}");
|
||||||
App.Logger.WriteException(LOG_IDENT, ex);
|
App.Logger.WriteException(LOG_IDENT, ex);
|
||||||
|
Loading…
Reference in New Issue
Block a user