Retain IO error source in extraction (#15388)

## Summary

This was accidentally lost in 4f4492dd53.
This commit is contained in:
Charlie Marsh 2025-08-20 16:27:26 +01:00 committed by GitHub
parent 02e7a8216b
commit 1176e5e00c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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")]