Change %e to ?e to include detailed error message

This commit is contained in:
Arthur Baars 2025-03-06 13:36:20 +01:00
parent c053cc72a7
commit e98c98fa31

View file

@ -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
}