Improve error message handling/hiding
--------------------------------------

                 Key: OFBIZ-255
                 URL: http://issues.apache.org/jira/browse/OFBIZ-255
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
          Components: ecommerce
            Reporter: David N. Welton
            Priority: Trivial


This is a copy of OFBIZ-673, from the old JIRA system:

Error handling ought to be configurable.

Currently, the template file framework/common/webcommon/includes/messages.ftl 
lets you customize the look and feel, but there are a couple of other things 
that could be done, in my opinion.

1) Depending on whether a variable (production/testing system) is set somewhere 
(where is the best place?), either print all the debug information, or simply 
print a nice, simple messsage that there has been an error and the 
administrators have been contacted to resolve the problem.

2) Actually send some email to an email address defined somewhere (where is the 
best place?). I think that would happen in ServiceEventHandler.java, but 
perhaps (well, probably), I'm mistaken. Where is the right place?


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to