Skip to content

Commit e684388

Browse files
committed
Print error
1 parent c0801b9 commit e684388

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Changed
1515

16+
- espup now prints why an install step failed
17+
1618
### Removed
1719

1820
## [0.13.0] - 2024-10-30

src/toolchain/mod.rs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,12 @@ pub async fn install(args: InstallOpts, install_mode: InstallMode) -> Result<()>
235235
tokio::spawn(async move {
236236
let res = Retry::spawn(retry_strategy, || async {
237237
let res = app.install().await;
238-
if res.is_err() {
239-
warn!("Installation for '{}' failed, retrying", app.name());
238+
if let Err(ref err) = res {
239+
warn!(
240+
"Installation for '{}' failed, retrying. Error: {}",
241+
app.name(),
242+
err
243+
);
240244
}
241245
res
242246
})

0 commit comments

Comments
 (0)