[
https://issues.apache.org/jira/browse/OFBIZ-10817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16753399#comment-16753399 ]
Michael Brohl commented on OFBIZ-10817:
---------------------------------------
I think it is a good idea to have simething more user-friendly in production instead of displaying the full stacktrace. I also agree that it is no good idea to simply hide it completely.
It would be better to display a configurable nice error page or page snippet with a general error message and a hint to inform the administrator.
In an extended version, maybe with the option to send a message to a configured admin address?
> Configure stackTrace displaying on ftl rendering
> ------------------------------------------------
>
> Key: OFBIZ-10817
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10817> Project: OFBiz
> Issue Type: Improvement
> Components: framework
> Affects Versions: Trunk
> Reporter: Nicolas Malin
> Assignee: Nicolas Malin
> Priority: Minor
> Attachments: Failure.png, FailureSafe.png, OFBIZ-10817.patch, OFBIZ-10817.patch
>
>
> Currently when freemarker failed to execute a template, you have on end screen rendered all java stack trace generate.
> I propose to improve this to display the stack trace only when the property widget.verbose is true, no regression during development and when you switch to production site, in general your widget.verbose is false so end user haven't stack trace (that totally unused for them).
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)