svn commit: r1860696 - /ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1860696 - /ofbiz/ofbiz-framework/trunk/framework/base/src/main/java/org/apache/ofbiz/base/util/template/FreeMarkerWorker.java

Deepak Dixit-5
Author: deepak
Date: Thu Jun  6 05:42:30 2019
New Revision: 1860696

URL: http://svn.apache.org/viewvc?rev=1860696&view=rev
Log:
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);
             }