diff --git a/dvmconsole/MainWindow.xaml.cs b/dvmconsole/MainWindow.xaml.cs index ddc73c3..25abe03 100644 --- a/dvmconsole/MainWindow.xaml.cs +++ b/dvmconsole/MainWindow.xaml.cs @@ -329,7 +329,14 @@ namespace dvmconsole 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)