mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-25 01:19:02 +00:00
don't lose stacktrace if a plugin somehow makes jar hell
This commit is contained in:
parent
291bac0f04
commit
ba63d57e82
@ -360,7 +360,7 @@ public class PluginsService extends AbstractComponent {
|
||||
jars.addAll(bundle.urls);
|
||||
JarHell.checkJarHell(jars.toArray(new URL[0]));
|
||||
} catch (Exception e) {
|
||||
logger.warn("failed to load bundle {} due to jar hell", bundle.urls);
|
||||
logger.warn("failed to load bundle {} due to jar hell", bundle.urls, e);
|
||||
}
|
||||
|
||||
// create a child to load the plugins in this bundle
|
||||
|
Loading…
x
Reference in New Issue
Block a user