Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Commit 0102560

Browse files
authored
[Package Signing] Improve debuggability (#393)
Make the Validate Certificate job log a little more to improve debugging.
1 parent c7cfdd0 commit 0102560

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/Validation.PackageSigning.ValidateCertificate/CertificateValidationService.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ public async Task<bool> TrySaveResultAsync(EndCertificateValidation validation,
6060
validation.EndCertificate.Thumbprint,
6161
result.Status);
6262
}
63+
else
64+
{
65+
_logger.LogInformation(
66+
"Updating certificate {CertificateThumbprint} to status {NewStatus}",
67+
validation.EndCertificate.Thumbprint,
68+
result.Status);
69+
}
6370

6471
try
6572
{

0 commit comments

Comments
 (0)