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
@@ -172,6 +178,14 @@ public JobResult ProcessJob(ManagementJobConfiguration config)
172
178
FailureMessage=failureMessage
173
179
};
174
180
}
181
+
else
182
+
{
183
+
complete=newJobResult
184
+
{
185
+
Result=OrchestratorJobStatusJobResult.Failure,
186
+
JobHistoryId=_jobHistoryID,
187
+
FailureMessage=$"No thumbprint was returned. Unable to bind certificate to site: {bindingInfo.SiteName}."
188
+
};}
175
189
}
176
190
catch(Exceptionex)
177
191
{
@@ -183,7 +197,7 @@ public JobResult ProcessJob(ManagementJobConfiguration config)
183
197
};
184
198
}
185
199
186
-
_logger.LogTrace($"Completed adding and binding the certificate to the store");
200
+
_logger.LogTrace($"Exiting the Adding of Certificate process.");
187
201
188
202
break;
189
203
}
@@ -284,9 +298,10 @@ public string AddCertificate(string certificateContents, string privateKeyPasswo
284
298
catch(Exceptionex)
285
299
{
286
300
varfailureMessage=$"Management job {_operationType} failed on Store '{_storePath}' on server '{_clientMachineName}' with error: '{LogHandler.FlattenException(ex)}'";
301
+
varniceMessage=$"Management job {_operationType} failed on Store '{_storePath}' on server '{_clientMachineName}' with error: {ex.Message}";
0 commit comments