Author: jonesde
Date: Wed May 5 14:53:03 2010
New Revision: 941329
URL:
http://svn.apache.org/viewvc?rev=941329&view=revLog:
Improved error message when screen marco rendering fails to show the macro icall text to give you a clue about what failed
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java?rev=941329&r1=941328&r2=941329&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/screen/MacroScreenRenderer.java Wed May 5 14:53:03 2010
@@ -94,9 +94,9 @@ public class MacroScreenRenderer impleme
templateReader.close();
environment.include(template);
} catch (TemplateException e) {
- Debug.logError(e, "Error rendering screen thru ftl", module);
+ Debug.logError(e, "Error rendering screen macro [" + macro + "] thru ftl", module);
} catch (IOException e) {
- Debug.logError(e, "Error rendering screen thru ftl", module);
+ Debug.logError(e, "Error rendering screen macro [" + macro + "] thru ftl", module);
}
}