Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
worktree: Print canonicalization error details (#44459)
Lukas Wirth6253b1d220d6
diff --git a/crates/worktree/src/worktree.rs b/crates/worktree/src/worktree.rsindex 5d1baceb2ce..4df7a93f13e 100644--- a/crates/worktree/src/worktree.rs+++ b/crates/worktree/src/worktree.rs@@ -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;}};