Broaden a catch clause so Java Errors while loading plugins don't halt the proxy.

This commit is contained in:
Andrew Steinborn
2018-08-26 14:40:07 -04:00
parent 27288685ff
commit ffd6217170

View File

@@ -76,7 +76,7 @@ public class VelocityPluginManager implements PluginManager {
try {
pluginObject = loader.createPlugin(plugin);
} catch (Exception e) {
} catch (Throwable e) {
logger.error("Can't create plugin {}", plugin.getId(), e);
continue;
}