Skip to content

Commit

Permalink
log error
Browse files Browse the repository at this point in the history
  • Loading branch information
ValyaB committed Oct 23, 2024
1 parent c12c722 commit d195e64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/actions/csr/csr.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ func toCertificate(event watch.Event) (cert *Certificate, name string, request [
}

if isOutdated {
return nil, "", nil, errCSRTooOld
return nil, "", nil, fmt.Errorf("csr with certificate Name: %v RequestingUser: %v %w", cert.Name, cert.RequestingUser, errCSRTooOld)
}
return cert, name, request, nil
}
Expand Down

0 comments on commit d195e64

Please sign in to comment.