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
Updated inventory to pull only client certs tied to default keystore.
This should be a final "prototype" state that can be used for demo purposes ONLY.
@@ -146,7 +165,7 @@ public JobResult ProcessJob(InventoryJobConfiguration config, SubmitInventoryUpd
146
165
catch(Exceptionex)
147
166
{
148
167
//Status: 2=Success, 3=Warning, 4=Error
149
-
returnnewJobResult(){Result=Keyfactor.Orchestrators.Common.Enums.OrchestratorJobStatusJobResult.Failure,JobHistoryId=config.JobHistoryId,FailureMessage="Custom message you want to show to show up as the error message in Job History in KF Command"};
168
+
returnnewJobResult(){Result=Keyfactor.Orchestrators.Common.Enums.OrchestratorJobStatusJobResult.Failure,JobHistoryId=config.JobHistoryId,FailureMessage=$"Inventory Job Failed During Inventory Item Creation: {ex.Message}"};
150
169
}
151
170
152
171
try
@@ -162,7 +181,7 @@ public JobResult ProcessJob(InventoryJobConfiguration config, SubmitInventoryUpd
162
181
{
163
182
// NOTE: if the cause of the submitInventory.Invoke exception is a communication issue between the Orchestrator server and the Command server, the job status returned here
164
183
// may not be reflected in Keyfactor Command.
165
-
returnnewJobResult(){Result=Keyfactor.Orchestrators.Common.Enums.OrchestratorJobStatusJobResult.Failure,JobHistoryId=config.JobHistoryId,FailureMessage="Custom message you want to show to show up as the error message in Job History in KF Command"};
184
+
returnnewJobResult(){Result=Keyfactor.Orchestrators.Common.Enums.OrchestratorJobStatusJobResult.Failure,JobHistoryId=config.JobHistoryId,FailureMessage=$"Inventory Job Failed During Inventory Item Submission: {ex.Message}"};
0 commit comments