Page MenuHomePhabricator

D13499.id44650.diff
No OneTemporary

D13499.id44650.diff

diff --git a/services/identity/src/backup.rs b/services/identity/src/backup.rs
--- a/services/identity/src/backup.rs
+++ b/services/identity/src/backup.rs
@@ -30,11 +30,16 @@
.send()
.await?;
if !response.status().is_success() {
- let response_body = response.text().await?;
+ let response_status = response.status();
+ let response_body = response
+ .text()
+ .await
+ .unwrap_or("[failed to get response text]".to_string());
tracing::error!(
errorType = error_types::HTTP_LOG,
- "Backup service failed to delete user data: {}",
- response_body
+ "Backup service failed to delete user data: {} - {}",
+ response_status,
+ response_body,
)
}
Ok(())

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 26, 3:25 AM (13 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2582301
Default Alt Text
D13499.id44650.diff (735 B)

Event Timeline