velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r1842451 - /velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java
Date Mon, 01 Oct 2018 10:07:19 GMT
Author: cbrisson
Date: Mon Oct  1 10:07:18 2018
New Revision: 1842451

URL: http://svn.apache.org/viewvc?rev=1842451&view=rev
Log:
[VELTOOLS-167] Not fixed, but at least emit a warning in the logs

Modified:
    velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java

Modified: velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java?rev=1842451&r1=1842450&r2=1842451&view=diff
==============================================================================
--- velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java
(original)
+++ velocity/tools/trunk/velocity-tools-generic/src/main/java/org/apache/velocity/tools/generic/ResourceTool.java
Mon Oct  1 10:07:18 2018
@@ -437,6 +437,7 @@ public class ResourceTool extends Locale
             }
             if (!getExists())
             {
+                getLog().warn("missing key: {}", this.key);
                 return "???"+this.key+"???";
             }
             return ResourceTool.this.render(this.rawValue, this.args);



Mime
View raw message