mirror of
https://github.com/esp-rs/espup.git
synced 2025-09-27 12:50:54 +00:00
Print error (#461)
This commit is contained in:
parent
c0801b9f0a
commit
bf94b56f63
@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
### Changed
|
||||
|
||||
- espup now prints why an install step failed (#461)
|
||||
|
||||
### Removed
|
||||
|
||||
## [0.13.0] - 2024-10-30
|
||||
|
@ -235,8 +235,12 @@ pub async fn install(args: InstallOpts, install_mode: InstallMode) -> Result<()>
|
||||
tokio::spawn(async move {
|
||||
let res = Retry::spawn(retry_strategy, || async {
|
||||
let res = app.install().await;
|
||||
if res.is_err() {
|
||||
warn!("Installation for '{}' failed, retrying", app.name());
|
||||
if let Err(ref err) = res {
|
||||
warn!(
|
||||
"Installation for '{}' failed, retrying. Error: {}",
|
||||
app.name(),
|
||||
err
|
||||
);
|
||||
}
|
||||
res
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user