Page MenuHomePhabricator

D10595.id35517.diff
No OneTemporary

D10595.id35517.diff

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

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)

Event Timeline