Skip to content

Commit

Permalink
Ignore send errors in installer (#6667)
Browse files Browse the repository at this point in the history
## Summary

Similar to #6182.
  • Loading branch information
charliermarsh authored Aug 27, 2024
1 parent 5ef0375 commit 51723a2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/uv-installer/src/installer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ impl<'a> Installer<'a> {
reporter,
relocatable,
);
tx.send(result).unwrap();

// This may fail if the main task was cancelled.
let _ = tx.send(result);
});

rx.await
Expand Down

0 comments on commit 51723a2

Please sign in to comment.