Skip to content

Commit e8bc395

Browse files
Remove transparent variants in uv-extract to enable retries (#14450)
## Summary We think this is the culprit for the lack of retries in some settings (e.g., Python downloads). See: #14425.
1 parent 06af93f commit e8bc395

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/uv-extract/src/error.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ use std::{ffi::OsString, path::PathBuf};
22

33
#[derive(Debug, thiserror::Error)]
44
pub enum Error {
5-
#[error(transparent)]
5+
#[error("Failed to read from zip file")]
66
Zip(#[from] zip::result::ZipError),
7-
#[error(transparent)]
7+
#[error("Failed to read from zip file")]
88
AsyncZip(#[from] async_zip::error::ZipError),
9-
#[error(transparent)]
9+
#[error("I/O operation failed during extraction")]
1010
Io(#[from] std::io::Error),
1111
#[error(
1212
"The top-level of the archive must only contain a list directory, but it contains: {0:?}"

0 commit comments

Comments
 (0)