Skip to content

Commit

Permalink
Adding DNS-01 detail logging (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
shibayan committed Jun 12, 2020
1 parent 532a478 commit c79ece1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppService.Acmebot/SharedFunctions.cs
Expand Up @@ -365,7 +365,7 @@ public async Task CheckDnsChallenge([ActivityTrigger] IList<AcmeChallengeResult>
// レコードに今回のチャレンジが含まれていない場合もエラー
if (!txtRecords.Any(x => x.Text.Contains(challengeResult.DnsRecordValue)))
{
throw new RetriableActivityException($"{challengeResult.DnsRecordName} value is not correct.");
throw new RetriableActivityException($"{challengeResult.DnsRecordName} is not correct. Expected: \"{challengeResult.DnsRecordValue}\", Actual: \"{string.Join(",", txtRecords.SelectMany(x => x.Text))}\"");
}
}
}
Expand Down

0 comments on commit c79ece1

Please sign in to comment.