Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3363803
D13499.id44650.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
735 B
Referenced Files
None
Subscribers
None
D13499.id44650.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D13499: [identity] improve error log for failed backup deletion
Attached
Detach File
Event Timeline
Log In to Comment