Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error logging in issueCertificate. (#3534)
The logEvent setup we had in issueCertificate depending on all error handling code setting logEvent.Error in addition to returning the error. Since this is not the common pattern in Go, there were a few places where logEvent.Error wasn't set, making it hard to find the root cause of errors in the RA logs (though the errors would get propagated to the WFE for logging). This change wraps issueCertificate such that all errors returned get logged.
- Loading branch information
Showing
1 changed file
with
25 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters