mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-08-04 18:58:41 +00:00
Change %e
to ?e
to include detailed error message
This commit is contained in:
parent
c053cc72a7
commit
e98c98fa31
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue