Skip to content

Commit 984a038

Browse files
increase log severity in case of malconfigured plugin
1 parent bdbe03e commit 984a038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/cryptomator/integrations/common/IntegrationsLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ private static <T> boolean passesAvailabilityCheck(Class<? extends T> type, @Nul
9393
return true; // if type is not annotated, skip tests
9494
}
9595
if (!type.getModule().isExported(type.getPackageName(), IntegrationsLoader.class.getModule())) {
96-
LOG.warn("Can't run @CheckAvailability tests for class {}. Make sure to export {} to {}!", type.getName(), type.getPackageName(), IntegrationsLoader.class.getPackageName());
96+
LOG.error("Can't run @CheckAvailability tests for class {}. Make sure to export {} to {}!", type.getName(), type.getPackageName(), IntegrationsLoader.class.getPackageName());
9797
return false;
9898
}
9999
return Arrays.stream(type.getMethods())

0 commit comments

Comments
 (0)