Add logging.
GitOrigin-RevId: 4e039d5973121b82dcf118ba34a6a5835b6f7502
This commit is contained in:
parent
c8f56c62d8
commit
99ffc0c5da
@ -2949,6 +2949,7 @@ Result<FileId> FileManager::check_input_file_id(FileType type, Result<FileId> 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)) &&
|
||||
|
Loading…
Reference in New Issue
Block a user