VA: Fix two IsCAAValid bugs (#7829)
Fix two bugs introduced in #7816: - Fix localLatency time for CAA rechecking is always 0 - Fix logEvent.InternalError is no longer being written to log
This commit is contained in:
parent
577a1e38eb
commit
65de9fb4b8
|
|
@ -90,7 +90,12 @@ func (va *ValidationAuthorityImpl) IsCAAValid(ctx context.Context, req *vapb.IsC
|
|||
}
|
||||
|
||||
internalErr = va.checkCAA(ctx, acmeID, params)
|
||||
|
||||
// Stop the clock for local check latency.
|
||||
localLatency = va.clk.Since(start)
|
||||
|
||||
if internalErr != nil {
|
||||
logEvent.InternalError = internalErr.Error()
|
||||
prob = detailedError(internalErr)
|
||||
prob.Detail = fmt.Sprintf("While processing CAA for %s: %s", req.Domain, prob.Detail)
|
||||
} else if remoteCAAResults != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue