Missing error handling #1
Notiek ielāde…
x
Atsaukties uz šo jaunā problēmā
Block a user
Nav sniegts apraksts.
Dzēst atzaru "%!s()"
Atzara dzēšana ir neatgriezeniska. Kaut arī izdzēstais zars neilgu laiku var turpināt pastāvēt, pirms tas tiešām tiek noņemts, to vairumā gadījumu NEVAR atsaukt. Vai turpināt?
There is one code path where getCertificatesAsync is executed without any error handler: https://git.coolaj86.com/coolaj86/le-sni-auto.js/src/branch/master/index.js#L141
If the promise is rejected for any reason the node process crashes due to
UnhandledRejectionError: Unhandled rejection
.This is causing a bit of headache of mine as the error crashes the server once I changed the renewalBy value
Published le-sni-auto@2.1.9
Many thanks to @layerssss for the fix. Sorry for the long delay.