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

Events API does not keep useful information when an event handler throws an exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.1
    • 2.1, 2.2
    • Events API
    • None
    • MOODLE_21_STABLE, MOODLE_22_STABLE
    • MOODLE_21_STABLE
    • Hide

      1. Find (or make) a buggy event hander.
      2. Trigger an event for it to handle.
      3. Look in the events_queue_handlers DB table, and confirm that the stack trace and debuginfo you really need to diagnose the problem is now there.

      Show
      1. Find (or make) a buggy event hander. 2. Trigger an event for it to handle. 3. Look in the events_queue_handlers DB table, and confirm that the stack trace and debuginfo you really need to diagnose the problem is now there.

      I just needed these changes to debug my event handler, so I am assuming that they will be useful for other people too. Therefore, submitting for integration.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.