Merge pull request #41466 from ClickHouse/add_missed_throw

Add missed throw expression
This commit is contained in:
Alexey Milovidov 2022-09-19 06:31:29 +03:00 committed by GitHub
commit 4719ed6f2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -156,6 +156,8 @@ void DiskObjectStorage::getRemotePathsRecursive(const String & local_path, std::
e.code() == ErrorCodes::ATTEMPT_TO_READ_AFTER_EOF || e.code() == ErrorCodes::ATTEMPT_TO_READ_AFTER_EOF ||
e.code() == ErrorCodes::CANNOT_READ_ALL_DATA) e.code() == ErrorCodes::CANNOT_READ_ALL_DATA)
return; return;
throw;
} }
catch (const fs::filesystem_error & e) catch (const fs::filesystem_error & e)
{ {