Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-41900

Log event handler cron failures

    XMLWordPrintable

    Details

      Description

      In the events_cron() function, if an event handler returns false or null, no more handlers of this type will be called for the duration of the cron. This currently happens silently, which can result in problems remaining undetected and event handler records building up.

      It would be very useful if failing handlers were logged in the cron log.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              maherne Michael Aherne
              Reporter:
              maherne Michael Aherne
              Peer reviewer:
              Petr Skoda
              Integrator:
              Sam Hemelryk
              Tester:
              Frédéric Massart
              Participants:
              Component watchers:
              Jake Dallimore, Jun Pataleta, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Nov/13