freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ddek...@apache.org
Subject [2/4] incubator-freemarker git commit: (Adjusted get_optional_template error message yet again.)
Date Tue, 27 Mar 2018 08:27:42 GMT
(Adjusted get_optional_template error message yet again.)


Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/cd5b68c2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/cd5b68c2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/cd5b68c2

Branch: refs/heads/2.3
Commit: cd5b68c2f57091396db09ca7964165a94e3e219f
Parents: 8fcbd6b
Author: ddekany <ddekany@apache.org>
Authored: Tue Mar 27 10:16:02 2018 +0200
Committer: ddekany <ddekany@apache.org>
Committed: Tue Mar 27 10:16:02 2018 +0200

----------------------------------------------------------------------
 src/main/java/freemarker/core/GetOptionalTemplateMethod.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/cd5b68c2/src/main/java/freemarker/core/GetOptionalTemplateMethod.java
----------------------------------------------------------------------
diff --git a/src/main/java/freemarker/core/GetOptionalTemplateMethod.java b/src/main/java/freemarker/core/GetOptionalTemplateMethod.java
index 5ed340c..158b08c 100644
--- a/src/main/java/freemarker/core/GetOptionalTemplateMethod.java
+++ b/src/main/java/freemarker/core/GetOptionalTemplateMethod.java
@@ -138,7 +138,7 @@ class GetOptionalTemplateMethod implements TemplateMethodModelEx {
             template = env.getTemplateForInclusion(absTemplateName, encoding, parse, true);
         } catch (IOException e) {
             throw new _TemplateModelException(
-                    e, "Error when trying to include template ", new _DelayedJQuote(absTemplateName),
+                    e, "I/O error when trying to load optional template ", new _DelayedJQuote(absTemplateName),
                         "; see cause exception");
         }
         


Mime
View raw message