[java-opensaml] branch master updated: Clarify confuding exception message
Rod Widdowson
rdw at steadingsoftware.com
Fri Apr 24 10:25:36 EDT 2020
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch master
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=2cac70925de398370e331d46571de985caafd037
The following commit(s) were added to refs/heads/master by this push:
new 2cac709 Clarify confuding exception message
2cac709 is described below
commit 2cac70925de398370e331d46571de985caafd037
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Fri Apr 24 15:25:05 2020 +0100
Clarify confuding exception message
---
.../saml/metadata/resolver/impl/AbstractReloadingMetadataResolver.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractReloadingMetadataResolver.java b/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractReloadingMetadataResolver.java
index 83c6f71..12cfc1b 100644
--- a/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractReloadingMetadataResolver.java
+++ b/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/impl/AbstractReloadingMetadataResolver.java
@@ -375,7 +375,7 @@ public abstract class AbstractReloadingMetadataResolver extends AbstractBatchMet
nextRefresh = Instant.now().plus(computeNextRefreshDelay(null));
if (t instanceof Exception) {
log.error("{} Error occurred while attempting to refresh metadata from '{}'", getLogPrefix(), mdId);
- throw new ResolverException((Exception) t);
+ throw new ResolverException("Exception during refresh", (Exception) t);
}
log.error("{} Error occurred while attempting to refresh metadata from '{}'", getLogPrefix(), mdId, t);
throw new ResolverException(String.format("Saw an error of type '%s' with message '%s'",
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list