Browse Source

Emit warning instead of error when plugin root is not present (#176)

pull/177/head
Sergey Tyurin 7 years ago committed by Decebal Suiu
parent
commit
422484d750
  1. 2
      pf4j/src/main/java/org/pf4j/AbstractPluginManager.java

2
pf4j/src/main/java/org/pf4j/AbstractPluginManager.java

@ -208,7 +208,7 @@ public abstract class AbstractPluginManager implements PluginManager {
log.debug("Lookup plugins in '{}'", pluginsRoot);
// check for plugins root
if (Files.notExists(pluginsRoot) || !Files.isDirectory(pluginsRoot)) {
log.error("No '{}' root", pluginsRoot);
log.warn("No '{}' root", pluginsRoot);
return;
}

Loading…
Cancel
Save