mirror of https://github.com/astral-sh/uv
Retain IO error source in extraction (#15388)
## Summary
This was accidentally lost in 4f4492dd53.
This commit is contained in:
parent
02e7a8216b
commit
1176e5e00c
|
|
@ -3,7 +3,7 @@ use std::{ffi::OsString, path::PathBuf};
|
|||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum Error {
|
||||
#[error("I/O operation failed during extraction")]
|
||||
Io(std::io::Error),
|
||||
Io(#[source] std::io::Error),
|
||||
#[error("Invalid zip file")]
|
||||
Zip(#[from] zip::result::ZipError),
|
||||
#[error("Invalid zip file structure")]
|
||||
|
|
|
|||
Loading…
Reference in New Issue