Skip to content

Commit 8d5421e

Browse files
committed
Changed my mind, we've already logged the cert at this point
1 parent be0abd2 commit 8d5421e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ca/ca.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ func (ca *certificateAuthorityImpl) IssueCertificate(ctx context.Context, req *c
450450
Issued: timestamppb.New(ca.clk.Now()),
451451
})
452452
if err != nil {
453-
ca.log.AuditErrf("Failed RPC to store at SA: serial=[%s] cert=[%v] err=[%v]", serialHex, hex.EncodeToString(certDER), err)
453+
ca.log.AuditErrf("Failed RPC to store at SA: serial=[%s] err=[%v]", serialHex, err)
454454
return nil, fmt.Errorf("persisting cert to database: %w", err)
455455
}
456456

0 commit comments

Comments
 (0)