fix: propagate inner download error error

This commit is contained in:
daimond113 2024-11-20 18:41:09 +01:00
parent 00d4515849
commit 745828f926
No known key found for this signature in database
GPG key ID: 3A8ECE51328B513C
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Fixed ### Fixed
- Add back mistakenly removed updates check caching by @daimond113 - Add back mistakenly removed updates check caching by @daimond113
- Set download error source to inner error to propagate the error by @daimond113
## [0.5.0-rc.10] - 2024-11-16 ## [0.5.0-rc.10] - 2024-11-16
### Fixed ### Fixed

View file

@ -164,6 +164,6 @@ pub mod errors {
/// Error writing package contents /// Error writing package contents
#[error("failed to write package contents")] #[error("failed to write package contents")]
WriteFailed(std::io::Error), WriteFailed(#[source] std::io::Error),
} }
} }