Better error reporting for failures

See https://github.com/astral-sh/uv/actions/runs/16370666070/job/46258004849
This commit is contained in:
konstin 2025-07-18 14:59:53 +02:00
parent b419b1f423
commit 3961edfec8
1 changed files with 1 additions and 2 deletions

View File

@ -238,8 +238,7 @@ pub fn remove_registry_entry<'a>(
} else {
errors.push((
installation.key().clone(),
anyhow::Error::new(err)
.context("Failed to clear registry entries under HKCU:\\{python_entry}"),
format!("Failed to clear registry entries under HKCU:\\{python_entry}: {err}"),
));
}
}