mirror of
https://github.com/astral-sh/uv.git
synced 2025-09-30 22:11:12 +00:00
parent
45894e074c
commit
e7fb452552
1 changed files with 5 additions and 2 deletions
|
@ -239,10 +239,13 @@ pub(crate) async fn install(
|
||||||
for (key, err) in errors {
|
for (key, err) in errors {
|
||||||
writeln!(
|
writeln!(
|
||||||
printer.stderr(),
|
printer.stderr(),
|
||||||
"{}: Failed to install {}: {err}",
|
"{}: Failed to install {}",
|
||||||
"error".red().bold(),
|
"error".red().bold(),
|
||||||
key.green(),
|
key.green()
|
||||||
)?;
|
)?;
|
||||||
|
for err in anyhow::Error::new(err).chain() {
|
||||||
|
writeln!(printer.stderr(), " {}: {}", "Caused by".red().bold(), err)?;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return Ok(ExitStatus::Failure);
|
return Ok(ExitStatus::Failure);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue