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:
commit
51a0dd2677
@ -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()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user