diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2024-11-20 00:18:57 +0100 |
---|---|---|
committer | Bartek Iwańczuk <biwanczuk@gmail.com> | 2024-11-20 00:18:57 +0100 |
commit | 21bd818f1ee531a49c46213417774fbc18a8b562 (patch) | |
tree | ea32c744f0fd1932f7a505892e43846a73823fbd /cli/standalone/virtual_fs.rs | |
parent | 6356329b37282178701c0064a4a2cd04286a51e7 (diff) | |
parent | 46b6037644c761369e689704f8e7b857959da155 (diff) |
Merge branch 'main' into haturatu/main
Diffstat (limited to 'cli/standalone/virtual_fs.rs')
-rw-r--r-- | cli/standalone/virtual_fs.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cli/standalone/virtual_fs.rs b/cli/standalone/virtual_fs.rs index 26bb0db75..d1084f016 100644 --- a/cli/standalone/virtual_fs.rs +++ b/cli/standalone/virtual_fs.rs @@ -51,7 +51,8 @@ pub struct VfsBuilder { impl VfsBuilder { pub fn new(root_path: PathBuf) -> Result<Self, AnyError> { - let root_path = canonicalize_path(&root_path)?; + let root_path = canonicalize_path(&root_path) + .with_context(|| format!("Canonicalizing {}", root_path.display()))?; log::debug!("Building vfs with root '{}'", root_path.display()); Ok(Self { root_dir: VirtualDirectory { |