mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 11:20:54 +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 {
|
||||
tracing::warn!(
|
||||
%cargo_toml,
|
||||
%e,
|
||||
?e,
|
||||
"`cargo metadata` failed, but retry with `--no-deps` succeeded"
|
||||
);
|
||||
tracing::debug!("{e:?}");
|
||||
}
|
||||
res
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user