Skip to content

Commit

Permalink
TOOL-1249. error clarification
Browse files Browse the repository at this point in the history
TOOL-1249. error clarification
  • Loading branch information
kiryalovik authored Aug 30, 2022
2 parents 2ebc1d6 + d41ea6a commit 9dda3fe
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 9dda3fe

Please sign in to comment.