more logs

This commit is contained in:
Pavel Merzlyakov 2022-11-16 01:21:50 +03:00
parent b8193811a5
commit 3f9a29cbc2
1 changed files with 1 additions and 1 deletions

View File

@ -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 {