Skip to content

Commit 18c793d

Browse files
committed
do not return if cannot parse metadata json
1 parent 20100ad commit 18c793d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

common/arg.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ static bool common_download_file_single(const std::string & url, const std::stri
295295
}
296296
} catch (const nlohmann::json::exception & e) {
297297
LOG_ERR("%s: error reading metadata file %s: %s\n", __func__, metadata_path.c_str(), e.what());
298-
return false;
299298
}
300299
}
301300
// if we cannot open the metadata file, we assume that the downloaded file is not valid (etag and last-modified are left empty, so we will download it again)

0 commit comments

Comments
 (0)