Skip to content

Commit

Permalink
error clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
kiryalovik committed Aug 29, 2022
1 parent 2ebc1d6 commit d41ea6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/signer/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ type RoundTripper struct {
func (r RoundTripper) RoundTrip(req *http.Request) (*http.Response, error) {
err := r.signer.Sign(req, r.signingKey)
if err != nil {
return nil, errors.Wrap(err, "unable to sign request")
return nil, errors.Wrap(err, "signing proxy: unable to sign request")
}

rsp, err := r.inner.RoundTrip(req)
if err != nil {
return nil, errors.Wrap(err, "unable to perform request")
return nil, errors.Wrap(err, "signing proxy: unable to perform request")
}

return rsp, nil
Expand Down

0 comments on commit d41ea6a

Please sign in to comment.