Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-1284

Ignore errors coming from mod_page and mod_resource

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.5
    • 2.5
    • Error reporting
    • Hide
      1. Include the errorreport script in index.html.
      2. Manually call window.onerror from console. Check that if you use a valid URL with mod_resource and mod_page states the error message is not shown, while using another URL shows the report message.
      Show
      Include the errorreport script in index.html. Manually call window.onerror from console. Check that if you use a valid URL with mod_resource and mod_page states the error message is not shown, while using another URL shows the report message.
    • MOODLE_25_STABLE
    • MOODLE_25_STABLE

      For some reason we receive a lot of weird errors coming from mod_resource and mod_page. Most of them are references to unexisting variables. We guess that window.onerror is getting errors that happen inside an iframe, but I wasn't able to reproduce this issue.

      We think we should ignore the errors coming from these states since they're mostly useless for us and they can cause a bad user experience.

            dpalou Dani Palou
            dpalou Dani Palou
            Frédéric Massart Frédéric Massart
            Juan Leyva Juan Leyva
            Juan Leyva Juan Leyva
            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.