Mercurial > dive4elements > river
changeset 8959:175f113ed939
Do not silently eat exceptions!
author | gernotbelger |
---|---|
date | Wed, 28 Mar 2018 14:34:20 +0200 |
parents | 3c95b89da5ea |
children | 66ce19d2c5f1 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java Fri Mar 23 17:53:59 2018 +0100 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/datacage/templating/Builder.java Wed Mar 28 14:34:20 2018 +0200 @@ -437,7 +437,7 @@ x = getXPathExpression(filter); } catch (XPathExpressionException xee) { - log.warn("Invalid filter expression '" + filter + "'."); + log.warn("Invalid filter expression '" + filter + "'.", xee); return rd; } @@ -1346,6 +1346,7 @@ } /** Handle <dc:statement> elements. */ + // FIXME: this prohibits using local variables inside of statements! protected void compileStatements() { NodeList nodes = template.getElementsByTagNameNS(