[spring-extensions] 02/02: IDP-1293 - failFast for MetadataConfiguration
Ian Young
ian at iay.org.uk
Thu Sep 13 14:03:25 EDT 2018
This is an automated email from the git hooks/post-receive script.
iay pushed a commit to branch master
in repository spring-extensions.
View the commit online:
http://git.shibboleth.net/view/?p=spring-extensions.git;a=commit;h=10a44d7bb7f597e0b0279aadd0d4eb5bdac00065
commit 10a44d7bb7f597e0b0279aadd0d4eb5bdac00065
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