Skip to content

Commit

Permalink
Add ioError assignement.
Browse files Browse the repository at this point in the history
  • Loading branch information
herve-er committed May 2, 2024
1 parent f12ab85 commit 728ee7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcommonserver/utility/utility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,7 @@ bool Utility::checkIfDirEntryIsManaged(std::filesystem::recursive_directory_iter
}

if (itemType.ioError == IoErrorNoSuchFileOrDirectory || itemType.ioError == IoErrorAccessDenied) {
ioError = itemType.ioError;
LOGW_DEBUG(logger(), L"Error in IoHelper::getItemType: " << formatIoError(dirIt->path(), ioError).c_str());
return true;
}
Expand Down

0 comments on commit 728ee7b

Please sign in to comment.