Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3400726
D10595.id35517.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
771 B
Referenced Files
None
Subscribers
None
D10595.id35517.diff
View Options
diff --git a/native/native_rust_library/src/backup.rs b/native/native_rust_library/src/backup.rs
--- a/native/native_rust_library/src/backup.rs
+++ b/native/native_rust_library/src/backup.rs
@@ -87,8 +87,7 @@
let (tx, rx) = backup_client
.upload_logs(&user_identity, &backup_id)
- .await
- .unwrap();
+ .await?;
tokio::pin!(tx);
tokio::pin!(rx);
@@ -152,15 +151,12 @@
let (tx, rx) = backup_client
.download_logs(&user_identity, &backup_id)
- .await
- .unwrap();
+ .await?;
tokio::pin!(tx);
tokio::pin!(rx);
- tx.send(DownloadLogsRequest { from_id: None })
- .await
- .unwrap();
+ tx.send(DownloadLogsRequest { from_id: None }).await?;
match rx.next().await {
Some(Ok(LogWSResponse::LogDownload {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 3, 8:36 AM (20 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2611045
Default Alt Text
D10595.id35517.diff (771 B)
Attached To
Mode
D10595: [native] Remove unwrap in backup testing code
Attached
Detach File
Event Timeline
Log In to Comment