Set tracing level to debug when cargo config get env fails

This commit is contained in:
Ali Bektas 2024-07-30 12:57:21 +02:00
parent a021b85be5
commit 02c066cd1c

View file

@ -81,7 +81,7 @@ pub(crate) fn cargo_config_env(
tracing::debug!("Discovered cargo config env: {:?}", env); tracing::debug!("Discovered cargo config env: {:?}", env);
}) })
.inspect_err(|err| { .inspect_err(|err| {
tracing::error!("Failed to discover cargo config env: {:?}", err); tracing::debug!("Failed to discover cargo config env: {:?}", err);
}) })
.unwrap_or_default() .unwrap_or_default()
} }