worktree: Print canonicalization error details (#44459)

cc https://github.com/zed-industries/zed/issues/24714

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth
2025-12-09 08:30:36 +00:00
committed by GitHub
parent 4e75f0f3ab
commit 6253b1d220
+1 -1
View File
@@ -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;
}
};