[spring-extensions] branch master updated: Broaden exception trap to ensure hide option works.
Scott Cantor
cantor.2 at osu.edu
Tue Aug 27 10:09:13 EDT 2019
This is an automated email from the git hooks/post-receive script.
scantor 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=19a2aff338b911793cbe17ee07037ca483f2478d
The following commit(s) were added to refs/heads/master by this push:
new 19a2aff Broaden exception trap to ensure hide option works.
19a2aff is described below
commit 19a2aff338b911793cbe17ee07037ca483f2478d
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Aug 27 10:09:10 2019 -0400
Broaden exception trap to ensure hide option works.
---
.../shibboleth/ext/spring/util/AbstractSpringExpressionEvaluator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/main/java/net/shibboleth/ext/spring/util/AbstractSpringExpressionEvaluator.java b/src/main/java/net/shibboleth/ext/spring/util/AbstractSpringExpressionEvaluator.java
index 9953a21..220250b 100644
--- a/src/main/java/net/shibboleth/ext/spring/util/AbstractSpringExpressionEvaluator.java
+++ b/src/main/java/net/shibboleth/ext/spring/util/AbstractSpringExpressionEvaluator.java
@@ -188,7 +188,7 @@ public abstract class AbstractSpringExpressionEvaluator<T, U> {
}
return (U) output;
- } catch (final ParseException|EvaluationException e) {
+ } catch (final Exception e) {
log.error("Error evaluating Spring expression", e);
if (hideExceptions) {
return returnOnError;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list