When user accepts invalid certificate, the error code from the certificate validation is supposed to be stored in host.setIgnoreCertErrors. But the code is not passed to SieveCertValidationException constructor in SieveClients.mjs.
The patch adds the error code to the constructor call.
When user accepts invalid certificate, the error code from the certificate validation is supposed to be stored in host.setIgnoreCertErrors. But the code is not passed to SieveCertValidationException constructor in SieveClients.mjs.
The patch adds the error code to the constructor call.
Fixes https://github.com/thsmi/sieve/issues/892