diff options
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | src/zencore/filesystem.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 5960d922a..d42748ae9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - Bugfix: Set last GC time when we skip GC due to low disk space to avoid spam-running GC - Bugfix: Make sure we lock project and verify directory exists before trying to iterate to find oplogs - Bugfix: Failure to get size or if size mismatch of a file in filecas now results in overwrite without error report +- Bugfix: Handle "path not found" error when trying to traverse a directory ## 5.5.4 - Feature: Added new option to zenserver for GC V2 diff --git a/src/zencore/filesystem.cpp b/src/zencore/filesystem.cpp index e41149d64..d79a39880 100644 --- a/src/zencore/filesystem.cpp +++ b/src/zencore/filesystem.cpp @@ -1180,7 +1180,7 @@ FileSystemTraversal::TraverseFileSystem(const std::filesystem::path& RootDir, Tr if (FAILED(hRes)) { - if (hRes == ERROR_FILE_NOT_FOUND) + if (hRes == ERROR_FILE_NOT_FOUND || hRes == ERROR_PATH_NOT_FOUND) { // Directory no longer exist, treat it as empty return; |