Surpress exception if registry is not found
MODIFY
WalletWasabi.Fluent/Helpers/StartupHelper.cs
WalletWasabi.Fluent/Helpers/StartupHelper.cs
@@ -48,7 +48,7 @@ namespace WalletWasabi.Fluent.Helpers
}
else
{
- key.DeleteValue(nameof(WalletWasabi));
+ key.DeleteValue(nameof(WalletWasabi), false);
}
}
}

MODIFY
WalletWasabi.Fluent/ViewModels/Settings/GeneralSettingsTabViewModel.cs
WalletWasabi.Fluent/ViewModels/Settings/GeneralSettingsTabViewModel.cs
@@ -6,6 +6,7 @@ using ReactiveUI;
using WalletWasabi.Fluent.Helpers;
using WalletWasabi.Gui;
using WalletWasabi.Gui.Models;
+using WalletWasabi.Logging;
namespace WalletWasabi.Fluent.ViewModels.Settings
{
@@ -66,9 +67,10 @@ namespace WalletWasabi.Fluent.ViewModels.Settings
StartupHelper.ModifyStartupSetting(runOnStartup);
Services.UiConfig.RunOnSystemStartup = runOnStartup;
}
- catch (Exception)
+ catch (Exception ex)
{
await ShowErrorAsync(Title, RunWithSystemStartupErrorMessage, "Something went wrong.");
+ Logger.LogError(ex);
}
});

Surpress exception if registry is not found