Fixed the error message

This commit is contained in:
Martin Heidegger 2016-02-16 01:30:05 +09:00
parent 8ec66c2a1f
commit acb400ef7f
1 changed files with 3 additions and 3 deletions

View File

@ -235,10 +235,10 @@ module.exports.create = function (deps) {
nextDomain();
} else if (authz.status==='invalid') {
unlink();
challengesState = state.challenges.map(function (challenge) {
challengesState = authz.challenges.map(function (challenge) {
var result = ' - ' + challenge.uri + ' [' + challenge.status + ']';
if (result.error) {
result += '\n ' + result.error.detail;
if (challenge.error) {
result += '\n ' + challenge.error.detail;
}
return result;
}).join('\n');