more logs
This commit is contained in:
parent
b8193811a5
commit
3f9a29cbc2
|
@ -80,7 +80,7 @@ func (tr *TokenRetriever) Retrieve(ctx context.Context, data url.Values) (Token,
|
||||||
}
|
}
|
||||||
req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
|
req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
|
||||||
|
|
||||||
tr.logger.Infof("retrieve token with request: %+v", req)
|
tr.logger.Infof("retrieve token with request: %+v, body: %+v", req, data.Encode())
|
||||||
|
|
||||||
resp, err := tr.httpClient.Do(req)
|
resp, err := tr.httpClient.Do(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Loading…
Reference in New Issue