[spring-extensions] branch maint-5 updated: IDP-1293 - failFast for MetadataConfiguration

Scott Cantor cantor.2 at osu.edu
Thu Aug 30 13:49:28 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch maint-5
in repository spring-extensions.

View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=ef72d5b2df4e01f39090849600255f576f340c6a

The following commit(s) were added to refs/heads/maint-5 by this push:
       new  ef72d5b   IDP-1293 - failFast for MetadataConfiguration
ef72d5b is described below

commit ef72d5b2df4e01f39090849600255f576f340c6a
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Aug 30 13:49:24 2018 -0400

    IDP-1293 - failFast for MetadataConfiguration
    
    https://issues.shibboleth.net/jira/browse/IDP-1293
    
    Wider exception catch on service strategy application.
---
 .../java/net/shibboleth/ext/spring/service/ReloadableSpringService.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/net/shibboleth/ext/spring/service/ReloadableSpringService.java b/src/main/java/net/shibboleth/ext/spring/service/ReloadableSpringService.java
index 6c3be8b..b53f1fe 100644
--- a/src/main/java/net/shibboleth/ext/spring/service/ReloadableSpringService.java
+++ b/src/main/java/net/shibboleth/ext/spring/service/ReloadableSpringService.java
@@ -382,7 +382,7 @@ public class ReloadableSpringService<T> extends AbstractReloadableService<T> imp
         final ServiceableComponent<T> service;
         try {
             service = serviceStrategy.apply(appContext);
-        } catch (final ServiceException e) {
+        } catch (final Exception e) {
             appContext.close();
             throw new ServiceException("Failed to load " + getServiceConfigurations(), e);
         }

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list