Broaden a catch clause so Java Errors while loading plugins don't halt the proxy.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user