this shouldn't be necessary but wrap peer.Start() with an exception handler;

pull/1/head
Bryan Biedenkapp 11 months ago
parent 72abb2bcd1
commit bd201d1aa8

@ -329,7 +329,14 @@ namespace dvmconsole
Task.Run(() => Task.Run(() =>
{ {
peer.Start(); try
{
peer.Start();
}
catch (Exception e)
{
MessageBox.Show($"Fatal error while connecting to server. {e.Message}", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
}
}); });
if (!settingsManager.ShowSystemStatus) if (!settingsManager.ShowSystemStatus)

Loading…
Cancel
Save

Powered by TurnKey Linux.