Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
Fix err message (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo authored Aug 27, 2020
1 parent 8120659 commit 29f624e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/certapi/certificate.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func (c *Controller) HandleCertificate() http.Handler {

var request api.VerificationCertificateRequest
if err := controller.BindJSON(w, r, &request); err != nil {
c.logger.Errorf("failed to parse json request", "error", err)
c.logger.Errorw("failed to parse json request", "error", err)
stats.Record(ctx, c.metrics.CertificateErrors.M(1))
c.h.RenderJSON(w, http.StatusBadRequest, api.Error(err).WithCode(api.ErrTokenInvalid))
return
Expand Down

0 comments on commit 29f624e

Please sign in to comment.