Truncate inbox response text before logging it
This commit is contained in:
parent
d2366589cf
commit
ed98648756
1 changed files with 2 additions and 1 deletions
|
@ -64,7 +64,8 @@ async fn send_activity(
|
||||||
} else {
|
} else {
|
||||||
let response = request.send().await?;
|
let response = request.send().await?;
|
||||||
let response_status = response.status();
|
let response_status = response.status();
|
||||||
let response_text = response.text().await?;
|
let response_text: String = response.text().await?
|
||||||
|
.chars().take(30).collect();
|
||||||
log::info!(
|
log::info!(
|
||||||
"response from {}: {}",
|
"response from {}: {}",
|
||||||
inbox_url,
|
inbox_url,
|
||||||
|
|
Loading…
Reference in a new issue