diff options
author | Sergey Tyurin <sergey.v.tyurin@gmail.com> | 2017-10-13 11:59:48 -0700 |
---|---|---|
committer | Decebal Suiu <decebal.suiu@gmail.com> | 2017-10-13 21:59:48 +0300 |
commit | 422484d7502fb16f45c1a8143aa9eef867659e81 (patch) | |
tree | cbe387df242643c0eefed88f19dfe825398de30a /pf4j/src | |
parent | 5529c4dd08b1db8c6748cb622476b1a446636c35 (diff) | |
download | pf4j-422484d7502fb16f45c1a8143aa9eef867659e81.tar.gz pf4j-422484d7502fb16f45c1a8143aa9eef867659e81.zip |
Emit warning instead of error when plugin root is not present (#176)
Diffstat (limited to 'pf4j/src')
-rw-r--r-- | pf4j/src/main/java/org/pf4j/AbstractPluginManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java b/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java index 936b6bf..ea94432 100644 --- a/pf4j/src/main/java/org/pf4j/AbstractPluginManager.java +++ b/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; } |