Skip to content

Commit

Permalink
debug invalid flag
Browse files Browse the repository at this point in the history
  • Loading branch information
fritterhoff committed Aug 8, 2024
1 parent 8bf35d9 commit fdb0772
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions acme/challenge.go
Original file line number Diff line number Diff line change
Expand Up @@ -1212,6 +1212,7 @@ func KeyAuthorization(token string, jwk *jose.JSONWebKey) (string, error) {
func storeError(ctx context.Context, db DB, ch *Challenge, markInvalid bool, err *Error) error {
ch.Error = err
if markInvalid {
logrus.Warnf("marking challenge %s as invalid: %v", ch.ID, err)
ch.Status = StatusInvalid
}
if err := db.UpdateChallenge(ctx, ch); err != nil {
Expand Down

0 comments on commit fdb0772

Please sign in to comment.