We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c72ef09 commit 466edd1Copy full SHA for 466edd1
infra/indexer/index/file_copier.cc
@@ -104,6 +104,11 @@ void FileCopier::CopyIndexedFiles() {
104
105
DLOG(INFO) << "\nFrom: " << src_path << "\n To: " << dst_path << "\n";
106
107
+ if (!std::filesystem::exists(src_path)) {
108
+ LOG(WARNING) << "Skipping non-existent file: " << src_path;
109
+ continue;
110
+ }
111
+
112
QCHECK(std::filesystem::exists(src_path))
113
<< "Source file does not exist: " << src_path;
114
0 commit comments