|
@@ -322,7 +322,11 @@ public class PluginManager {
|
322
|
322
|
for (String pluginName : knownPlugins.keySet()) {
|
323
|
323
|
final Plugin plugin = knownPlugins.get(pluginName);
|
324
|
324
|
if (plugin instanceof EventPlugin && plugin.isActive()) {
|
325
|
|
- ((EventPlugin)plugin).processEvent(type, format, arguments);
|
|
325
|
+ try {
|
|
326
|
+ ((EventPlugin)plugin).processEvent(type, format, arguments);
|
|
327
|
+ } catch (Exception e) {
|
|
328
|
+ Logger.userError(ErrorLevel.LOW, "Error with processEvent for "+pluginName+" ("+type+") - "+e.getMessage());
|
|
329
|
+ }
|
326
|
330
|
}
|
327
|
331
|
}
|
328
|
332
|
}
|