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

Ouvert
Ghost souhaite fusionner 1 révision(s) depuis (supprimé) : master vers master
Première contribution

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) ```
Cette demande d'ajout contient des modifications en conflit avec la branche ciblée.
  • acme.js
Connectez-vous pour rejoindre cette conversation.
Sans évaluateur
Sans labels
Sans jalon
Sans assignation
1 participants
Notifications
Échéance
La date d’échéance est invalide ou hors plage. Veuillez utiliser le format 'aaaa-mm-dd'.

Aucune échéance n'a été définie.

Dépendances

Aucune dépendance définie.

Référence : coolaj86/acme.js-ARCHIVED#28
Sans contenu.