[JIRA] Commented: (OFBIZ-673) Improve error message handling

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (OFBIZ-673) Improve error message handling

JIRA jira@ofbiz.org
     [ http://jira.undersunconsulting.com/browse/OFBIZ-673?page=comments#action_13937 ]
     
David E. Jones commented on OFBIZ-673:
--------------------------------------

Yes, I agree. Such a world would be a more beautiful place.

> Improve error message handling
> ------------------------------
>
>          Key: OFBIZ-673
>          URL: http://jira.undersunconsulting.com/browse/OFBIZ-673
>      Project: [OFBiz] Open For Business
>         Type: Improvement
>   Components: base
>     Versions: SVN
>     Reporter: David N. Welton
>     Assignee: Jira Administrator
>     Priority: Minor

>
>
> 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?
> Thanks,
> Dave

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