2
1
Fork 0

error handling when service is on down or in maintenance #28

Offen
Ghost möchte 1 Commits von (gelöscht):master nach master mergen
Erstmaliger Mitwirkender

Hi there,

I was receiving this response for a short period of time:

{
   type: 'urn:acme:error:serverInternal',
   detail: 'The service is down for maintenance or had an internal error. Check https://letsencrypt.status.io/ for more details.'
}

As there are no error handling for this section, the error that was actually showing up before me digging on the sources was this:

Error cert_order:
Cannot read property 'termsOfService' of undefined
TypeError: Cannot read property 'termsOfService' of undefined
    at fin (/root/raftwars/source/node_modules/@root/acme/acme.js:75:23)
    at /root/raftwars/source/node_modules/@root/acme/acme.js:96:12
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
Hi there, I was receiving this response for a short period of time: ``` { type: 'urn:acme:error:serverInternal', detail: 'The service is down for maintenance or had an internal error. Check https://letsencrypt.status.io/ for more details.' } ``` As there are no error handling for this section, the error that was actually showing up before me digging on the sources was this: ``` Error cert_order: Cannot read property 'termsOfService' of undefined TypeError: Cannot read property 'termsOfService' of undefined at fin (/root/raftwars/source/node_modules/@root/acme/acme.js:75:23) at /root/raftwars/source/node_modules/@root/acme/acme.js:96:12 at processTicksAndRejections (internal/process/task_queues.js:93:5) ```
Dieser Pull-Request hat Änderungen, die im Widerspruch zum Ziel-Branch stehen.
  • acme.js
Anmelden, um an der Diskussion teilzunehmen.
Keine Reviewer
Kein Label
Kein Meilenstein
Niemand zuständig
1 Beteiligte
Nachrichten
Fällig am
Das Fälligkeitsdatum ist ungültig oder außerhalb des zulässigen Bereichs. Bitte verwende das Format „jjjj-mm-tt“.

Kein Fälligkeitsdatum gesetzt.

Abhängigkeiten

Keine Abhängigkeiten gesetzt.

Referenz: coolaj86/acme.js-ARCHIVED#28
Keine Beschreibung angegeben.