mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-04 18:58:41 +00:00
Improve tracing log format in cargo_workspace.rs
This commit is contained in:
parent
55d61be9a3
commit
c053cc72a7
1 changed files with 3 additions and 1 deletions
|
@ -299,7 +299,9 @@ impl CargoWorkspace {
|
|||
);
|
||||
if let Ok((_, Some(ref e))) = res {
|
||||
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:?}");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue