chore(auth): add debug log for iflow token response body

This commit is contained in:
Luis Pater
2025-10-13 09:12:45 +08:00
parent 599986495b
commit 3be6175aec

View File

@@ -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")
} }