Silence FILE_DOWNLOAD_ID_INVALID error logging.

GitOrigin-RevId: e332bc61d58f536a57ce4a10a7da0f6779fa5184
This commit is contained in:
levlam 2020-06-27 19:48:08 +03:00
parent 2ad13e414e
commit eb79c3084e

View File

@ -3539,6 +3539,7 @@ void FileManager::on_error_impl(FileNodePtr node, Query::Type type, bool was_act
if (node->local_.type() == LocalFileLocation::Type::Partial &&
!begins_with(status.message(), "FILE_UPLOAD_RESTART") &&
!begins_with(status.message(), "FILE_DOWNLOAD_RESTART") &&
!begins_with(status.message(), "FILE_DOWNLOAD_ID_INVALID") &&
!begins_with(status.message(), "FILE_DOWNLOAD_LIMIT")) {
CSlice path = node->local_.partial().path_;
if (begins_with(path, get_files_temp_dir(FileType::Encrypted)) ||