Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-15560

Fatal errors in AJAX calls don't get logged in CiviCRM.log

    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.

        Attachments

          Activity

            People

            • Assignee:
              colemanw Coleman Watts
              Reporter:
              peterh Peter Haight
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: