Skip to content

Commit 4c9f4c0

Browse files
chore: Add more verbose context for failed solves (#4256)
1 parent 0587973 commit 4c9f4c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lock_file/update.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,7 @@ async fn spawn_solve_conda_environment_task(
18381838
.await
18391839
.with_context(|| {
18401840
format!(
1841-
"failed to solve '{}' for {}",
1841+
"failed to solve requirements of environment '{}' for platform '{}'",
18421842
group.name().fancy_display(),
18431843
platform
18441844
)
@@ -2140,7 +2140,7 @@ async fn spawn_solve_pypi_task<'p>(
21402140
.await
21412141
.with_context(|| {
21422142
format!(
2143-
"failed to solve the pypi requirements of '{}' '{}'",
2143+
"failed to solve the pypi requirements of environment '{}' for platform '{}'",
21442144
environment_name.fancy_display(),
21452145
consts::PLATFORM_STYLE.apply_to(platform)
21462146
)

0 commit comments

Comments
 (0)