mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-01 06:21:13 +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 {
|
||||
writeln!(
|
||||
printer.stderr(),
|
||||
"{}: Failed to install {}: {err}",
|
||||
"{}: Failed to install {}",
|
||||
"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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue