Navigation Menu

Skip to content

Commit

Permalink
[JENKINS-11279] Guice appears to throw RuntimeException sometimes.
Browse files Browse the repository at this point in the history
  • Loading branch information
kohsuke committed Oct 10, 2011
1 parent 87f89bc commit ab421b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/ExtensionFinder.java
Expand Up @@ -178,7 +178,7 @@ public AbstractGuiceFinder(final Class<T> annotationType) {

try {
container = Guice.createInjector(modules);
} catch (CreationException e) {
} catch (Throwable e) {
LOGGER.log(Level.SEVERE, "Failed to create Guice container from all the plugins",e);
// failing to load all bindings are disastrous, so recover by creating minimum that works
// by just including the core
Expand Down

0 comments on commit ab421b5

Please sign in to comment.