Affects Version/s: None
Fix Version/s: None
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?