Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.5
-
Fix Version/s: 4.6
-
Component/s: Core CiviCRM
-
Labels:None
-
Documentation Required?:None
Description
If you have a fatal error in an AJAX call, then the error doesn't get logged to ConfigAndLog/Civicrm.*.log. This is because the logging stuff happens after the call to CRM_Core_Page_AJAX::returnJsonResponse in CRM_Core_Error::fatal and returnJsonRespons exits php.