Skip to content
Snippets Groups Projects
Commit bafab0fe authored by srosse's avatar srosse
Browse files

OO-609: if the evaluation raise an error, denied access instead of red screen...

OO-609: if the evaluation raise an error, denied access instead of red screen and log the condition, it's not the fault of the user
parent 97a78bbc
No related branches found
No related tags found
No related merge requests found
......@@ -385,8 +385,8 @@ public class ConditionInterpreter {
// if not null then: ok = evaluateCondition(Expression cachedExpression)
ok = doEvaluateCondition(condition);
} catch (ParseException e) {
log.info("ParseException in evaluateCondition:" + e);
throw new AssertException("parse error in:: " + condition + " exception=" + e.getMessage());
log.error("ParseException in evaluateCondition:" + condition, e);
ok = false;
}
return ok;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment