Added more options to job changes and elaborated error messages (#775)

* job step type and error message details change

* added newline for both environments

* checked for inner exceptions

* sorted imports
This commit is contained in:
Aditya Bist
2019-03-07 11:42:20 -08:00
committed by GitHub
parent 01bcfd8df9
commit a08666af0f
5 changed files with 71 additions and 22 deletions

View File

@@ -659,10 +659,11 @@ namespace Microsoft.SqlTools.ServiceLayer.Agent
if (jobInfo != null)
{
this.currentName = jobInfo.Name;
this.owner = jobInfo.Owner;
this.description = jobInfo.Description;
this.enabled = jobInfo.Enabled;
this.Owner = jobInfo.Owner;
this.Description = jobInfo.Description;
this.Enabled = jobInfo.Enabled;
this.startStepID = jobInfo.StartStepId;
this.Category = ConvertStringToCategory(jobInfo.Category);
}
}
#endregion