Skip to content

Commit

Permalink
Merge pull request #52 from ozontech/issue-51
Browse files Browse the repository at this point in the history
[issue-51] log information about request after make request
  • Loading branch information
siller174 authored Nov 21, 2023
2 parents 33b0ba6 + f31a0ca commit 0c74c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roundtripper.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (it *Test) doRequest(t T, baseReq *http.Request) (*http.Response, error) {

// Add information (method, host, curl) about request to Allure step
// should be after httpClient.Do, because in roundTripper request could be changed
err = addInformationRequest(t, req)
err = addInformationRequest(t, resp.Request)
if err != nil {
t.Log("[ERROR] Could not log information about request. Error %v", err)
}
Expand Down

0 comments on commit 0c74c67

Please sign in to comment.