mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Improve tracing log format in cargo_workspace.rs
This commit is contained in:
parent
55d61be9a3
commit
c053cc72a7
@ -299,7 +299,9 @@ impl CargoWorkspace {
|
|||||||
);
|
);
|
||||||
if let Ok((_, Some(ref e))) = res {
|
if let Ok((_, Some(ref e))) = res {
|
||||||
tracing::warn!(
|
tracing::warn!(
|
||||||
"`cargo metadata` failed on `{cargo_toml}`, but retry with `--no-deps` succeeded"
|
%cargo_toml,
|
||||||
|
%e,
|
||||||
|
"`cargo metadata` failed, but retry with `--no-deps` succeeded"
|
||||||
);
|
);
|
||||||
tracing::debug!("{e:?}");
|
tracing::debug!("{e:?}");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user