geforkt von Mirrors/Velocity
Broaden a catch clause so Java Errors while loading plugins don't halt the proxy.
Dieser Commit ist enthalten in:
Ursprung
27288685ff
Commit
ffd6217170
@ -76,7 +76,7 @@ public class VelocityPluginManager implements PluginManager {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
pluginObject = loader.createPlugin(plugin);
|
pluginObject = loader.createPlugin(plugin);
|
||||||
} catch (Exception e) {
|
} catch (Throwable e) {
|
||||||
logger.error("Can't create plugin {}", plugin.getId(), e);
|
logger.error("Can't create plugin {}", plugin.getId(), e);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren