diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c87875..5c3b37e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] ### Fixed - 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 ### Fixed diff --git a/src/download.rs b/src/download.rs index 377f044..20ba395 100644 --- a/src/download.rs +++ b/src/download.rs @@ -164,6 +164,6 @@ pub mod errors { /// Error writing package contents #[error("failed to write package contents")] - WriteFailed(std::io::Error), + WriteFailed(#[source] std::io::Error), } }