CA-175498: Even more logging

Signed-off-by: Gabor Apati-Nagy <gabor.apati-nagy@citrix.com>
This commit is contained in:
Gabor Apati-Nagy 2016-03-01 16:51:01 +00:00
parent b0c8004230
commit e011ade0da

View File

@ -409,6 +409,9 @@ namespace XenAdmin.Wizards.PatchingWizard
{ {
var innerEx = exception.InnerException as Failure; var innerEx = exception.InnerException as Failure;
errorMessage = innerEx.Message; errorMessage = innerEx.Message;
if (innerEx.ErrorDescription != null && innerEx.ErrorDescription.Count > 0)
log.Error(string.Concat(innerEx.ErrorDescription.ToArray()));
} }
labelError.Text = errorMessage ?? string.Format(Messages.PATCHING_WIZARD_ERROR, exception.Message); labelError.Text = errorMessage ?? string.Format(Messages.PATCHING_WIZARD_ERROR, exception.Message);