expiration-mailer: Don't bail early on error (#6101)
If there is an error in SelectCertificate, we can continue doing work with the remaining certificates.
This commit is contained in:
parent
f5769c0967
commit
8ba71cd624
|
|
@ -352,7 +352,7 @@ func (m *mailer) findExpiringCertificates(ctx context.Context) error {
|
|||
continue
|
||||
}
|
||||
m.log.AuditErrf("expiration-mailer: Error loading cert %q: %s", cert.Serial, err)
|
||||
return err
|
||||
continue
|
||||
}
|
||||
certs = append(certs, cert)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue