don't lose stacktrace if a plugin somehow makes jar hell

This commit is contained in:
Robert Muir 2015-07-30 15:56:33 -04:00
parent 291bac0f04
commit ba63d57e82
1 changed files with 1 additions and 1 deletions

View File

@ -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