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
---------
Co-authored-by: Lee Fine <50836957+leefine02@users.noreply.github.com>
Co-authored-by: Keyfactor <keyfactor@keyfactor.github.io>
Co-authored-by: Lee Fine <lfine@keyfactor.com>
thrownewRemoteFileException(RemoteFileException.FlattenExceptionMessages(ex,"Error attempting to serialize config.json file. Please review your config.json file for proper formatting."));
logger.LogError($"Exception for {config.Capability} attempting post job command for {PostJobApplicationRestart}: {RemoteFileException.FlattenExceptionMessages(ex,string.Empty)} for job id {config.JobId}");
67
+
returnnewJobResult(){Result=OrchestratorJobStatusJobResult.Warning,JobHistoryId=config.JobHistoryId,FailureMessage=RemoteFileException.FlattenExceptionMessages(ex,$"Site {config.CertificateStoreDetails.StorePath} on server {config.CertificateStoreDetails.ClientMachine}: Certificate was successfully added to store, but post job command for {PostJobApplicationRestart} failed with: ")};
68
+
}
69
+
finally
70
+
{
71
+
logger.LogDebug($"END add Operation for {config.CertificateStoreDetails.StorePath} on {config.CertificateStoreDetails.ClientMachine}.");
logger.LogError($"Exception for {config.Capability} attempting post job command for {PostJobApplicationRestart}: {RemoteFileException.FlattenExceptionMessages(ex,string.Empty)} for job id {config.JobId}");
115
+
returnnewJobResult(){Result=OrchestratorJobStatusJobResult.Warning,JobHistoryId=config.JobHistoryId,FailureMessage=RemoteFileException.FlattenExceptionMessages(ex,$"Site {config.CertificateStoreDetails.StorePath} on server {config.CertificateStoreDetails.ClientMachine}: Certificate was successfully added to store, but post job command for {PostJobApplicationRestart} failed with: ")};
116
+
}
117
+
finally
118
+
{
119
+
logger.LogDebug($"END add Operation for {config.CertificateStoreDetails.StorePath} on {config.CertificateStoreDetails.ClientMachine}.");
0 commit comments