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 @@ -181,10 +181,13 @@ public CurseForgeFile resolveModpackFile(
(fileMatcher == null || file.getFileName().contains(fileMatcher)))
.findFirst()
.orElseThrow(() -> {
log.debug("No matching files trying fileMatcher={} against {}", fileMatcher,
mod.getLatestFiles()
log.debug("No matching files for mod id={} name={} trying fileMatcher={}, sample of latest files={}",
mod.getId(), mod.getName(),
fileMatcher, mod.getLatestFiles()
);
return new GenericException(String.format("No matching files found for mod '%s' (%d) using fileMatcher '%s'",
mod.getSlug(), mod.getId(), fileMatcher)
);
return new GenericException("No matching files found for mod");
});
}

Expand Down