Skip to content

Commit

Permalink
Merge pull request #80 from kaleido-io/more_logs
Browse files Browse the repository at this point in the history
Add more logging to understand failure when retrying
  • Loading branch information
Chengxuan authored Jun 5, 2024
2 parents 0e684eb + 6ea34ea commit 2c9c793
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/perf/perf.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ func (pr *perfRunner) Init() (err error) {
return false
}
// Retry for all other errors
log.Warnf("Retrying HTTP request. Status: '%v' Response: '%s' Error: '%v'", r.Status(), r.Body(), r.Error())
log.Warnf("Retrying HTTP request. Status: '%v' Request: '%s' '%s' Response: '%s' Error: '%v'", r.Status(), r.Request.Method, r.Request.URL, r.Body(), r.Error())
return true
}
return false
Expand Down

0 comments on commit 2c9c793

Please sign in to comment.