Skip to content

Commit

Permalink
Auto merge of rust-lang#17744 - alibektas:debug_env_not_set, r=Veykril
Browse files Browse the repository at this point in the history
minor: Set tracing level to debug when `cargo config get env` fails

fixes rust-lang#17739
  • Loading branch information
bors committed Jul 30, 2024
2 parents 412c915 + 02c066c commit 4feec4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/project-model/src/env.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ pub(crate) fn cargo_config_env(
tracing::debug!("Discovered cargo config env: {:?}", env);
})
.inspect_err(|err| {
tracing::error!("Failed to discover cargo config env: {:?}", err);
tracing::debug!("Failed to discover cargo config env: {:?}", err);
})
.unwrap_or_default()
}
Expand Down

0 comments on commit 4feec4b

Please sign in to comment.