diff --git a/MPF.Library/Utilities/Tools.cs b/MPF.Library/Utilities/Tools.cs index 55a99f75..40a660de 100644 --- a/MPF.Library/Utilities/Tools.cs +++ b/MPF.Library/Utilities/Tools.cs @@ -2,7 +2,6 @@ using System.Net; using System.Reflection; using Newtonsoft.Json.Linq; -using RedumpLib.Web; namespace MPF.Utilities { diff --git a/MPF/ViewModels/MainViewModel.cs b/MPF/ViewModels/MainViewModel.cs index e64df4e5..28d53da6 100644 --- a/MPF/ViewModels/MainViewModel.cs +++ b/MPF/ViewModels/MainViewModel.cs @@ -218,6 +218,9 @@ namespace MPF.GUI.ViewModels Clipboard.SetText(url); App.Logger.SecretLogLn(message); + if (url == null) + message = "An exception occurred while checking for versions, please try again later. See the log window for more details."; + CustomMessageBox.Show(App.Instance, message, "Version Update Check", MessageBoxButton.OK, different ? MessageBoxImage.Exclamation : MessageBoxImage.Information); }