Skip to content

Commit

Permalink
Fixed logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihxil committed Jun 13, 2024
1 parent 301f53c commit a1944dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public EventServiceProviderImpl(String name) {
@SneakyThrows
public EventServiceProviderImpl(String name, String... eventPackages) {
Set<String> eventPackagesSet = Set.of(eventPackages);
ClassPath.from(ClassLoader.getSystemClassLoader())
ClassPath.from(getClass().getClassLoader())
.getAllClasses()
.stream()
.filter(c -> eventPackagesSet.contains(c.getPackageName()))
Expand Down

0 comments on commit a1944dd

Please sign in to comment.