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:
Jacob Hoffman-Andrews 2022-05-10 16:40:37 -07:00 committed by GitHub
parent f5769c0967
commit 8ba71cd624
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}