worktree: Print canonicalization error details (#44459) (cherry-pick to preview) (#44460)
zed-zippy[bot]
and
Lukas Wirth
created
Cherry-pick of #44459 to preview
----
cc https://github.com/zed-industries/zed/issues/24714
Release Notes:
- N/A *or* Added/Fixed/Improved ...
Co-authored-by: Lukas Wirth <lukas@zed.dev>
Change summary
crates/worktree/src/worktree.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Detailed changes
@@ -3814,7 +3814,7 @@ impl BackgroundScanner {
let root_canonical_path = match &root_canonical_path {
Ok(path) => SanitizedPath::new(path),
Err(err) => {
- log::error!("failed to canonicalize root path {root_path:?}: {err}");
+ log::error!("failed to canonicalize root path {root_path:?}: {err:#}");
return true;
}
};