Skip to content

Commit

Permalink
client: fix Sprintf format
Browse files Browse the repository at this point in the history
  • Loading branch information
miku committed Jul 16, 2016
1 parent deae9e9 commit 1069b5d
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 @@ -49,7 +49,7 @@ type HTTPError struct {
}

func (e HTTPError) Error() string {
return fmt.Sprintf("failed with %s on %s: %s", http.StatusText(e.StatusCode), e.URL, e.RequestError)
return fmt.Sprintf("failed with %s on %s: %v", http.StatusText(e.StatusCode), e.URL, e.RequestError)
}

// CreateDoer will return http request clients with specific timeout and retry
Expand Down

0 comments on commit 1069b5d

Please sign in to comment.