Author: deepak
Date: Thu Jun 6 05:42:30 2019
New Revision: 1860696
URL:
http://svn.apache.org/viewvc?rev=1860696&view=revLog:
Improved: Added Debug error statement for freemarker OFBIZ_DEFAULT_HANDLER, it will be helpful while debugging.
(OFBIZ-10817)
Modified:
ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java
Modified: ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java?rev=1860696&r1=1860695&r2=1860696&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java (original)
+++ ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java Thu Jun 6 05:42:30 2019
@@ -522,6 +522,7 @@ public final class FreeMarkerWorker {
TemplateExceptionHandler OFBIZ_DEFAULT_HANDLER = (te, env, out) -> {
try {
out.write(UtilProperties.getPropertyValue("widget", "widget.freemarker.template.exception.message","â"));
+ Debug.logError(te, module);
} catch (IOException e) {
Debug.logError(e, module);
}