Added array null check
This commit is contained in:
parent
acb400ef7f
commit
ad71d8bb97
|
@ -235,7 +235,7 @@ module.exports.create = function (deps) {
|
|||
nextDomain();
|
||||
} else if (authz.status==='invalid') {
|
||||
unlink();
|
||||
challengesState = authz.challenges.map(function (challenge) {
|
||||
challengesState = (authz.challenges || []).map(function (challenge) {
|
||||
var result = ' - ' + challenge.uri + ' [' + challenge.status + ']';
|
||||
if (challenge.error) {
|
||||
result += '\n ' + challenge.error.detail;
|
||||
|
|
Loading…
Reference in New Issue