private void ConnectToService() { try { SettingsProvider.ConnectToService(); } catch (Exception ex) { LogHelper.LogError(ex); ShowError("Error connecting to service"); } }