Skip to content

Commit a9e4417

Browse files
committed
better error message
1 parent 956a2e8 commit a9e4417

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

digicert-certcentral-caplugin/CertCentralCAPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1206,7 +1206,7 @@ private async Task<EnrollmentResult> ExtractSmimeEnrollmentResult(CertCentralCli
12061206

12071207
if (orderResponse.Status == CertCentralBaseResponse.StatusType.ERROR)
12081208
{
1209-
_logger.LogError($"Error from CertCentral client: {orderResponse.Errors.First().message}");
1209+
_logger.LogError($"Error from CertCentral client: {orderResponse.Errors.First().code}: {orderResponse.Errors.First().message}");
12101210

12111211
status = (int)EndEntityStatus.FAILED;
12121212
statusMessage = orderResponse.Errors[0].message;

0 commit comments

Comments
 (0)