[java-support] branch master updated: Log suppressed exceptions from scripts.

Scott Cantor cantor.2 at osu.edu
Wed May 3 17:57:39 EDT 2017


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

scantor pushed a commit to branch master
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=f257a7035b62a166a559ba83106fde9c593d9803

The following commit(s) were added to refs/heads/master by this push:
       new  f257a70   Log suppressed exceptions from scripts.
f257a70 is described below

commit f257a7035b62a166a559ba83106fde9c593d9803
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Wed May 3 17:57:37 2017 -0400

    Log suppressed exceptions from scripts.
---
 .../utilities/java/support/scripting/AbstractScriptEvaluator.java        | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/net/shibboleth/utilities/java/support/scripting/AbstractScriptEvaluator.java b/src/main/java/net/shibboleth/utilities/java/support/scripting/AbstractScriptEvaluator.java
index 288ace0..c3e570a 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/scripting/AbstractScriptEvaluator.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/scripting/AbstractScriptEvaluator.java
@@ -187,6 +187,7 @@ public abstract class AbstractScriptEvaluator {
             
         } catch (final ScriptException e) {
             if (getHideExceptions()) {
+                log.warn("{} Suppressing exception thrown by script", getLogPrefix(), e);
                 return getReturnOnError();
             }
             throw new RuntimeException(e);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list