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:
@ -76,6 +76,7 @@ public class XPathEvaluator {
|
|||||||
|
|
||||||
RuleContext ruleContext = new RuleContext();
|
RuleContext ruleContext = new RuleContext();
|
||||||
ruleContext.setLanguageVersion(languageVersion);
|
ruleContext.setLanguageVersion(languageVersion);
|
||||||
|
ruleContext.setIgnoreExceptions(false);
|
||||||
|
|
||||||
List<Node> nodes = new ArrayList<>();
|
List<Node> nodes = new ArrayList<>();
|
||||||
nodes.add(compilationUnit);
|
nodes.add(compilationUnit);
|
||||||
|
Reference in New Issue
Block a user