From 6253b1d220d6bf2033494b458985ea3ecdd9b3b0 Mon Sep 17 00:00:00 2001 From: Lukas Wirth Date: Tue, 9 Dec 2025 09:30:36 +0100 Subject: [PATCH] worktree: Print canonicalization error details (#44459) cc https://github.com/zed-industries/zed/issues/24714 Release Notes: - N/A *or* Added/Fixed/Improved ... --- crates/worktree/src/worktree.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/worktree/src/worktree.rs b/crates/worktree/src/worktree.rs index 5d1baceb2cebcadb54f5b47f357470861bb5b964..4df7a93f13e3c1ff80f716141a2db727b7a5e693 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; } };