From 4da464197ffe28194d8f932831e0ad616553b982 Mon Sep 17 00:00:00 2001 From: bluepilledgreat <97983689+bluepilledgreat@users.noreply.github.com> Date: Mon, 30 Dec 2024 00:55:30 +0000 Subject: [PATCH] make CleanupVersionsFolder handle all exceptions --- Bloxstrap/Bootstrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bloxstrap/Bootstrapper.cs b/Bloxstrap/Bootstrapper.cs index 39dab82..ea0cd74 100644 --- a/Bloxstrap/Bootstrapper.cs +++ b/Bloxstrap/Bootstrapper.cs @@ -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);