Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
fix log message
Browse files Browse the repository at this point in the history
  • Loading branch information
travisturner committed Oct 16, 2019
1 parent f252c0d commit b0afe33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ func (c *Client) doRequest(host *URI, method, path string, headers map[string]st
if resp != nil {
statusCode = resp.StatusCode
}
c.logger.Printf("request failed with: %v status: %d, retrying after %d more time(s) after %v ", err, statusCode, tries, sleepTime)
c.logger.Printf("request failed with: '%v' status: %d, retrying %d more time(s) after %v ", err, statusCode, tries, sleepTime)
time.Sleep(sleepTime)
sleepTime *= 2
if sleepTime > c.maxRetrySleepTime {
Expand Down

0 comments on commit b0afe33

Please sign in to comment.