[java-shib-shared] branch main updated: IDP-2219 Improve status page / metrics when service fails to start

Rod Widdowson rdw at steadingsoftware.com
Mon Jan 1 13:56:45 UTC 2024


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

rdw pushed a commit to branch main
in repository java-shib-shared.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-shared.git;a=commit;h=3c80997267ea68c6517822d4dc704f82a3903d1c

The following commit(s) were added to refs/heads/main by this push:
     new 3c809972 IDP-2219 Improve status page / metrics when service fails to start
3c809972 is described below

commit 3c80997267ea68c6517822d4dc704f82a3903d1c
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