mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-02-03 13:00:52 +08:00
chore(auth): add debug log for iflow token response body
This commit is contained in:
@@ -138,6 +138,7 @@ func (ia *IFlowAuth) doTokenRequest(ctx context.Context, req *http.Request) (*IF
|
|||||||
}
|
}
|
||||||
|
|
||||||
if tokenResp.AccessToken == "" {
|
if tokenResp.AccessToken == "" {
|
||||||
|
log.Debug(string(body))
|
||||||
return nil, fmt.Errorf("iflow token: missing access token in response")
|
return nil, fmt.Errorf("iflow token: missing access token in response")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user