From 338edba081dba2a2aefb634811be1cc84ec93d64 Mon Sep 17 00:00:00 2001 From: Avi Levkovich Date: Tue, 25 Aug 2020 10:08:01 +0300 Subject: merge --- .../Controls/WebAppPropertiesControl.xaml.cs | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Software/Visual_Studio/Azure/Tango.AzureUtils.UI') diff --git a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs index 129550d14..aab9361f8 100644 --- a/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs +++ b/Software/Visual_Studio/Azure/Tango.AzureUtils.UI/Controls/WebAppPropertiesControl.xaml.cs @@ -1,6 +1,7 @@ using Microsoft.Azure.Management.AppService.Fluent; using System; using System.Collections.Generic; +using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -99,6 +100,11 @@ namespace Tango.AzureUtils.UI.Controls { IsBusy = true; + TangoVersion = null; + MachineStudioVersion = null; + FseVersion = null; + MachineServiceVersion = null; + HostNames = app.HostNames.Select(x => x).ToList(); Settings = await app.GetMachineServiceSettingsAsync(false); @@ -112,7 +118,10 @@ namespace Tango.AzureUtils.UI.Controls FtpManager ftpManager = new FtpManager(azure); MachineServiceVersion = await ftpManager.GetMachineServiceVersion(app); } - catch { } + catch (Exception ex) + { + Debug.WriteLine(ex); + } finally { IsBusy = false; -- cgit v1.3.1