You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnnil, fmt.Errorf("%s %s giving up after %d attempt(s): %w",
While the former can be mitigated by setting a nil logger on client instantiation, users of the client have to deal with potential query param / data leaks through errors.
We would like to see either a removal of query params entirely, or an option to disable full query param reporting. We could replace instances of url.URL with a few options:
There are several places where
url.URL
is used in a log or error, for example:via logs:
go-retryablehttp/client.go
Line 597 in 571a88b
via returned error:
go-retryablehttp/client.go
Line 751 in 571a88b
While the former can be mitigated by setting a
nil
logger on client instantiation, users of the client have to deal with potential query param / data leaks through errors.We would like to see either a removal of query params entirely, or an option to disable full query param reporting. We could replace instances of
url.URL
with a few options:The text was updated successfully, but these errors were encountered: