Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,11 @@ else if (category.getSlug().equals("worlds")) {
projectID, fileID
);

if (!cfFile.isAvailable()) {
log.warn("The file {} from {} is not available for download, so it will be skipped",
cfFile.getDisplayName(), modInfo.getName());
if (cfFile.getDownloadUrl() == null) {
log.warn("The file {} from {} did not provide a download URL, so it will be skipped. Metadata retrieved from {}",
cfFile.getDisplayName(), modInfo.getName(),
uriBuilder.resolve("/mods/{modId}/files/{fileId}", projectID, fileID)
);
return Mono.empty();
}

Expand Down