Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.2
-
Fix Version/s: 3.2.1
-
Component/s: Core CiviCRM
-
Labels:None
Description
A page full of DB errors (for example) can be intimidating to end-users and is not generally useful to them. The details of a fatal error are generally useful to tech support / developers etc. - so they can be collapsed until the right resource can be seen.
1. Modify CRM_Core_Error::handler to NOT append $error to $content after fatal.tpl is fetched
2. Modify fatal.tpl to put any populated elements of error array in a separate div and put that in collapsed accordion