Skip to content

Commit

Permalink
Use correct error variable in logging (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtchanpura authored Apr 2, 2022
1 parent 4b14f80 commit 0a77cb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ func (c *Client) pollAuthorization(ctx context.Context, account acme.Account, au
c.Logger.Error("cleaning up solver",
zap.String("identifier", authz.IdentifierValue()),
zap.String("challenge_type", authz.currentChallenge.Type),
zap.Error(err))
zap.Error(cleanupErr))
}
authz.currentSolver = nil // avoid cleaning it up again later
}
Expand Down

0 comments on commit 0a77cb0

Please sign in to comment.