Skip to content
This repository was archived by the owner on Mar 14, 2026. It is now read-only.

Commit 688fa7d

Browse files
committed
feat: debuging
1 parent 47f1eab commit 688fa7d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

crates/core/src/auth/microsoft.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ pub fn ouath_token(
192192

193193
async move {
194194
'out: {
195+
println!("body: {}", body);
195196
let result = client.post(url).body(body).send().await;
196197

197198
let std::result::Result::Ok(response) = result else {
@@ -205,6 +206,7 @@ pub fn ouath_token(
205206
.text()
206207
.await
207208
.map_err(|_| AuthErrors::ResponseError("Failed to send request".to_string()))?;
209+
println!("{}", text);
208210
let std::result::Result::Ok(token) = serde_json::from_str::<OuathToken>(&text) else {
209211
break 'out Err(AuthErrors::ResponseError(
210212
"Failed to send request, Check your Client Secret.".to_string(),

0 commit comments

Comments
 (0)