Skip to content

Commit

Permalink
attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
tekumara authored Feb 9, 2025
1 parent d8df82e commit b9b80e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,9 +353,9 @@ func (r *retryHTTP) execute() (res *http.Response, err error) {
return nil, err
}
if res != nil {
return nil, fmt.Errorf("timeout after %s and %v retries. HTTP Status: %v. Hanging?", r.timeout, retryCounter, res.StatusCode)
return nil, fmt.Errorf("timeout after %s and %v attempts. HTTP Status: %v. Hanging?", r.timeout, retryCounter, res.StatusCode)
}
return nil, fmt.Errorf("timeout after %s and %v retries. Hanging?", r.timeout, retryCounter)
return nil, fmt.Errorf("timeout after %s and %v attempts. Hanging?", r.timeout, retryCounter)

Check warning on line 358 in retry.go

View check run for this annotation

Codecov / codecov/patch

retry.go#L358

Added line #L358 was not covered by tests
}
}
if requestGUIDReplacer == nil {
Expand Down

0 comments on commit b9b80e0

Please sign in to comment.