Fix bug with XPath exceptions in the designer

They would be logged to stderr and not forwarded to the event log
This commit is contained in:
Clément Fournier
2018-05-25 04:12:05 +02:00
parent ec015d5604
commit dcd05a7e5b

View File

@ -76,6 +76,7 @@ public class XPathEvaluator {
RuleContext ruleContext = new RuleContext();
ruleContext.setLanguageVersion(languageVersion);
ruleContext.setIgnoreExceptions(false);
List<Node> nodes = new ArrayList<>();
nodes.add(compilationUnit);