Logs authz ID when ra.onValidationUpdate fails.
This commit is contained in:
parent
e6c63f1f11
commit
0e112aeb39
4
ra/ra.go
4
ra/ra.go
|
@ -1061,7 +1061,9 @@ func (ra *RegistrationAuthorityImpl) UpdateAuthorization(ctx context.Context, ba
|
||||||
|
|
||||||
err = ra.onValidationUpdate(vaCtx, authz)
|
err = ra.onValidationUpdate(vaCtx, authz)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ra.log.AuditErr(fmt.Sprintf("Could not record updated validation: err=[%s] regID=[%d]", err, authz.RegistrationID))
|
ra.log.AuditErr(fmt.Sprintf(
|
||||||
|
"Could not record updated validation: err=[%s] regID=[%d] authzID=[%s]",
|
||||||
|
err, authz.RegistrationID, authz.ID))
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
ra.stats.Inc("UpdatedPendingAuthorizations", 1)
|
ra.stats.Inc("UpdatedPendingAuthorizations", 1)
|
||||||
|
|
Loading…
Reference in New Issue