1
0
Mirror von https://github.com/therootcompany/acme.js.git synchronisiert 2024-11-16 17:29:00 +00:00

better error handling

Dieser Commit ist enthalten in:
AJ ONeal 2018-05-09 23:48:52 -06:00
Ursprung 473f373de3
Commit d54c1380f3

Datei anzeigen

@ -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'."