Removed bad error message

This commit is contained in:
emeric
2026-06-18 23:17:09 +02:00
parent a37cde0fba
commit b5e9660778
@@ -92,7 +92,10 @@ namespace lms::scanner
const std::filesystem::directory_entry fileEntry{ p, ec };
if (ec)
{
// TODO store error?
// no_such_file_or_directory may be triggered if the mount point changed
if (ec == std::errc::no_such_file_or_directory)
LMS_LOG(DBUPDATER, DEBUG, "Removing " << p << ": missing");
else
LMS_LOG(DBUPDATER, ERROR, "Error while checking file " << p << ": " << ec.message());
return false;
}