Skip to content

Commit 77012ee

Browse files
committedOct 25, 2024
fixup downloader
1 parent bf32839 commit 77012ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/downloader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ impl<G: Getter<Connection = D::Connection>, D: Dialer> Service<G, D> {
797797
self.progress_tracker.unsubscribe(&kind, &sender);
798798
sender
799799
.send(DownloadProgress::Abort(
800-
anyhow::Error::from(DownloadError::Cancelled).into(),
800+
serde_error::Error::new(&*anyhow::Error::from(DownloadError::Cancelled)),
801801
))
802802
.await
803803
.ok();

0 commit comments

Comments
 (0)