File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
src/main/java/me/itzg/helpers/curseforge Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -181,10 +181,13 @@ public CurseForgeFile resolveModpackFile(
181181 (fileMatcher == null || file .getFileName ().contains (fileMatcher )))
182182 .findFirst ()
183183 .orElseThrow (() -> {
184- log .debug ("No matching files trying fileMatcher={} against {}" , fileMatcher ,
185- mod .getLatestFiles ()
184+ log .debug ("No matching files for mod id={} name={} trying fileMatcher={}, sample of latest files={}" ,
185+ mod .getId (), mod .getName (),
186+ fileMatcher , mod .getLatestFiles ()
187+ );
188+ return new GenericException (String .format ("No matching files found for mod '%s' (%d) using fileMatcher '%s'" ,
189+ mod .getSlug (), mod .getId (), fileMatcher )
186190 );
187- return new GenericException ("No matching files found for mod" );
188191 });
189192 }
190193
You can’t perform that action at this time.
0 commit comments