Skip to content

Commit

Permalink
Use better error message when plugin discovery fails
Browse files Browse the repository at this point in the history
  • Loading branch information
NebelNidas committed Apr 20, 2023
1 parent 0460517 commit 8ce6570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/matcher/PluginLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static void run(String[] args) {
} else if (path.getFileName().toString().toLowerCase(Locale.ENGLISH).endsWith(".jar")) {
urls.add(path.toUri().toURL());
} else {
System.err.println("Failed to load plugin(s) from " + path);
System.err.println("No plugin(s) found at " + path.toFile().getCanonicalPath());
}
} catch (IOException e) {
throw new UncheckedIOException(e);
Expand Down

0 comments on commit 8ce6570

Please sign in to comment.