AjaxControlToolkit updated to the latest version. Fixed some warning in Portal compilation.
This commit is contained in:
parent
84f0cc724c
commit
a936174491
5 changed files with 4 additions and 9 deletions
Binary file not shown.
|
@ -68,7 +68,7 @@ namespace WebsitePanel.Portal.ProviderControls
|
|||
hosts = ES.Services.VPSPC.GetClusters(PanelRequest.ServiceId);
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
catch
|
||||
{
|
||||
hosts = null;
|
||||
}
|
||||
|
|
|
@ -130,7 +130,7 @@ namespace WebsitePanel.Portal.VPSForPC
|
|||
btn.Enabled = false;
|
||||
}
|
||||
|
||||
messageBox.ShowErrorMessage("VPS_ERROR_CREATE", new Exception("no templates"));
|
||||
messageBox.ShowErrorMessage("VPS_ERROR_CREATE", new Exception("no templates", ex));
|
||||
}
|
||||
// summary letter e-mail
|
||||
PackageInfo package = ES.Services.Packages.GetPackage(PanelSecurity.PackageId);
|
||||
|
|
|
@ -85,7 +85,7 @@ namespace WebsitePanel.Portal.VPSForPC
|
|||
listOperatingSystems.Enabled = false;
|
||||
txtVmName.Enabled = false;
|
||||
btnCreate.Enabled = false;
|
||||
messageBox.ShowErrorMessage("VPS_ERROR_CREATE", new Exception("no VM"));
|
||||
messageBox.ShowErrorMessage("VPS_ERROR_CREATE", new Exception("no VM", ex));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -67,12 +67,7 @@ namespace WebsitePanel.Portal.VPSForPC
|
|||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
vm = null;
|
||||
}
|
||||
|
||||
if (vm == null)
|
||||
{
|
||||
messageBox.ShowErrorMessage("VPS_LOAD_VM_META_ITEM");
|
||||
messageBox.ShowErrorMessage("VPS_LOAD_VM_META_ITEM", ex);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue