make CleanupVersionsFolder handle all exceptions

This commit is contained in:
bluepilledgreat 2024-12-30 00:55:30 +00:00
parent 632b6d4db4
commit 4da464197f

View File

@ -663,7 +663,7 @@ namespace Bloxstrap
{
Directory.Delete(dir, true);
}
catch (IOException ex)
catch (Exception ex)
{
App.Logger.WriteLine(LOG_IDENT, $"Failed to delete {dir}");
App.Logger.WriteException(LOG_IDENT, ex);