[java-shib-shared] 09/12: IDP-2219 Improve status page / metrics when service fails to start
Scott Cantor
cantor.2 at osu.edu
Wed Jan 31 14:15:56 UTC 2024
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch dev/thymeleaf
in repository java-shib-shared.
View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=a1c67ff3e520a5cec2ded1be9007cdc2fa88f0f7
commit a1c67ff3e520a5cec2ded1be9007cdc2fa88f0f7
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Jan 1 13:55:41 2024 +0000
IDP-2219 Improve status page / metrics when service fails to start
https://shibboleth.atlassian.net/browse/IDP-2219
Capture initial load failure exception as well as reload failure exception
---
.../java/net/shibboleth/shared/service/AbstractReloadableService.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/shib-service/src/main/java/net/shibboleth/shared/service/AbstractReloadableService.java b/shib-service/src/main/java/net/shibboleth/shared/service/AbstractReloadableService.java
index d4c3ac37..0fe1b2d0 100644
--- a/shib-service/src/main/java/net/shibboleth/shared/service/AbstractReloadableService.java
+++ b/shib-service/src/main/java/net/shibboleth/shared/service/AbstractReloadableService.java
@@ -177,6 +177,7 @@ public abstract class AbstractReloadableService<T> extends AbstractIdentifiableI
throw new ComponentInitializationException(getLogPrefix() + " could not perform initial load", e);
}
log.error("{} Initial load failed", getLogPrefix(), e);
+ reloadFailureCause = e;
if (reloadCheckDelay.isNegative() || reloadCheckDelay.isZero()) {
log.error("{} No further attempts will be made to reload", getLogPrefix());
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list