public async Task <CertificateResults> Process(TlsTestResults certificateResultMessage) { string hostName = certificateResultMessage.Id.ToLower(); _log.LogInformation("Evaluating certificates for hostName {hostName}", hostName); HostCertificates hostCertificates = certificateResultMessage.MapToHostCertificates(); try { EvaluationResult <HostCertificates> results = await Evaluate(hostCertificates); return(results.MapToHostResults()); } catch (Exception e) { string formatString = $"Error occured evaluating certificates for hostName {{hostName}} {{ExceptionMessage}} {Environment.NewLine} {{StackTrace}}"; _log.LogError(formatString, hostName, e.Message, e.StackTrace); throw; } }