You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -73,7 +74,12 @@ public JobResult ProcessJob(InventoryJobConfiguration config, SubmitInventoryUpd
73
74
catch(Exceptionex)
74
75
{
75
76
logger.LogError($"Exception for {config.Capability}: {RemoteFileException.FlattenExceptionMessages(ex,string.Empty)} for job id {config.JobId}");
76
-
returnnewJobResult(){Result=OrchestratorJobStatusJobResult.Failure,JobHistoryId=config.JobHistoryId,FailureMessage=RemoteFileException.FlattenExceptionMessages(ex,$"Site {config.CertificateStoreDetails.StorePath} on server {config.CertificateStoreDetails.ClientMachine}:")};
77
+
returnnewJobResult
78
+
{
79
+
Result=OrchestratorJobStatusJobResult.Failure,
80
+
JobHistoryId=config.JobHistoryId,
81
+
FailureMessage=RemoteFileException.FlattenExceptionMessages(ex,$"Site {config.CertificateStoreDetails.StorePath} on server {config.CertificateStoreDetails.ClientMachine}:")
82
+
};
77
83
}
78
84
finally
79
85
{
@@ -84,14 +90,31 @@ public JobResult ProcessJob(InventoryJobConfiguration config, SubmitInventoryUpd
84
90
try
85
91
{
86
92
submitInventory.Invoke(inventoryItems);
87
-
logger.LogDebug($"...End {config.Capability} job for job id {config.JobId}");
logger.LogError($"Exception returning certificates for {config.Capability}: {errorMessage} for job id {config.JobId}");
94
-
returnnewJobResult(){Result=OrchestratorJobStatusJobResult.Failure,JobHistoryId=config.JobHistoryId,FailureMessage=RemoteFileException.FlattenExceptionMessages(ex,$"Site {config.CertificateStoreDetails.StorePath} on server {config.CertificateStoreDetails.ClientMachine}:")};
112
+
returnnewJobResult
113
+
{
114
+
Result=OrchestratorJobStatusJobResult.Failure,
115
+
JobHistoryId=config.JobHistoryId,
116
+
FailureMessage=RemoteFileException.FlattenExceptionMessages(ex,$"Site {config.CertificateStoreDetails.StorePath} on server {config.CertificateStoreDetails.ClientMachine}:")
0 commit comments