don't crash on missing plugin dirs
@@ -204,6 +204,7 @@ public abstract class PluginConsumer implements IPluginConsumer {
protected final void loadPlugins() {
for (Path pluginDir : _pluginDirs) {
+ if (Files.exists(pluginDir)) {
try {
Files.walkFileTree(pluginDir, new SimpleFileVisitor<Path>() {
@Override
@@ -220,6 +221,7 @@ public abstract class PluginConsumer implements IPluginConsumer {
}
}
}
+ }
public void serializeObject(Serializable object, Path outputFile) {
try {
