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(); nextDomain();
} else if (authz.status==='invalid') { } else if (authz.status==='invalid') {
unlink(); unlink();
challengesState = state.challenges.map(function (challenge) { challengesState = authz.challenges.map(function (challenge) {
var result = ' - ' + challenge.uri + ' [' + challenge.status + ']'; var result = ' - ' + challenge.uri + ' [' + challenge.status + ']';
if (result.error) { if (challenge.error) {
result += '\n ' + result.error.detail; result += '\n ' + challenge.error.detail;
} }
return result; return result;
}).join('\n'); }).join('\n');