From 99ffc0c5da77c781b57a9a95ecd9f85da2f7412a Mon Sep 17 00:00:00 2001 From: levlam Date: Mon, 4 May 2020 03:01:01 +0300 Subject: [PATCH] Add logging. GitOrigin-RevId: 4e039d5973121b82dcf118ba34a6a5835b6f7502 --- td/telegram/files/FileManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/td/telegram/files/FileManager.cpp b/td/telegram/files/FileManager.cpp index b661ccd4..a25d5fe8 100644 --- a/td/telegram/files/FileManager.cpp +++ b/td/telegram/files/FileManager.cpp @@ -2949,6 +2949,7 @@ Result FileManager::check_input_file_id(FileType type, Result re } auto file_view = FileView(file_node); FileType real_type = file_view.get_type(); + LOG(INFO) << "Checking file " << file_id << " of type " << type << "/" << real_type; if (!is_encrypted && !is_secure) { if (real_type != type && !(real_type == FileType::Temp && file_view.has_url()) && !(is_document_type(real_type) && is_document_type(type)) &&