Author: hansbak
Date: Mon Mar 28 02:11:53 2011
New Revision: 1086096
URL:
http://svn.apache.org/viewvc?rev=1086096&view=revLog:
improve error message to indicate where the error happened
Modified:
ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java
Modified: ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java?rev=1086096&r1=1086095&r2=1086096&view=diff==============================================================================
--- ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java (original)
+++ ofbiz/trunk/framework/widget/src/org/ofbiz/widget/form/MacroFormRenderer.java Mon Mar 28 02:11:53 2011
@@ -132,9 +132,9 @@ public class MacroFormRenderer implement
templateReader.close();
environment.include(template);
} catch (TemplateException e) {
- Debug.logError(e, "Error rendering screen thru ftl", module);
+ Debug.logError(e, "Error rendering screen thru ftl macro: " + macro, module);
} catch (IOException e) {
- Debug.logError(e, "Error rendering screen thru ftl", module);
+ Debug.logError(e, "Error rendering screen thru ftl, macro: " + macro, module);
}
}