Skip to content

Commit

Permalink
Silence FILE_DOWNLOAD_ID_INVALID error logging.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: e332bc61d58f536a57ce4a10a7da0f6779fa5184
  • Loading branch information
levlam committed Jun 27, 2020
1 parent 2ad13e4 commit eb79c30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions td/telegram/files/FileManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) ||
Expand Down

0 comments on commit eb79c30

Please sign in to comment.