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