better error handling
Šī revīzija ir iekļauta:
vecāks
473f373de3
revīzija
d54c1380f3
2
node.js
2
node.js
@ -452,6 +452,8 @@ ACME._finalizeOrder = function (me, options, validatedDomains) {
|
||||
return ACME._wait().then(pollCert);
|
||||
}
|
||||
|
||||
if (me.debug) console.debug("Error: bad status:\n" + JSON.stringify(resp.body, null, 2));
|
||||
|
||||
if ('pending' === resp.body.status) {
|
||||
return Promise.reject(new Error(
|
||||
"Did not finalize order: status 'pending'."
|
||||
|
||||
Notiek ielāde…
x
Atsaukties uz šo jaunā problēmā
Block a user