Auto merge of #17744 - alibektas:debug_env_not_set, r=Veykril

minor: Set tracing level to debug when `cargo config get env` fails

fixes #17739
This commit is contained in:
bors 2024-07-30 11:02:21 +00:00
commit 51a0dd2677

View File

@ -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()
}