externalpluginmanager: Catch all throwables

This commit is contained in:
Owain van Brakel
2020-07-17 07:19:44 +02:00
parent d2a55e2a9d
commit c36b5e4f03

View File

@@ -760,9 +760,9 @@ public class ExternalPluginManager
scannedPlugins.add(plugin);
}
}
catch (NoClassDefFoundError ex)
catch (Throwable ex)
{
log.error("plugin {} is outdated", pluginId);
log.error("plugin {} could not be loaded. {} {}", pluginId, ex.toString(), ex.getMessage());
}
return scannedPlugins;