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

Disable error reporting by default

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 3.2
    • 3.1.3
    • Error reporting
    • Hide

      I didn't find any easy way to test this, so we'll throw the error function manually.

      1. Modify the file www/index.html to include the error reporting library like it's done in here.
      2. In the app, go to App Settings > General and check that report errors is disabled.
      3. In console, run the following command:

        window.onerror('Fake message for testing', 'url', 0)
        

      4. Check that you don't receive any email in the mobile account.
      5. Now in app settings enable the error reporting and execute the following command (please notice that the message has changed since the same error cannot be reported twice):

        window.onerror('Fake message for testing 2', 'url', 0)
        

      6. Check that you receive an email in the Mobile account.
      Show
      I didn't find any easy way to test this, so we'll throw the error function manually. Modify the file www/index.html to include the error reporting library like it's done in here . In the app, go to App Settings > General and check that report errors is disabled. In console, run the following command: window.onerror('Fake message for testing', 'url', 0) Check that you don't receive any email in the mobile account. Now in app settings enable the error reporting and execute the following command (please notice that the message has changed since the same error cannot be reported twice): window.onerror('Fake message for testing 2', 'url', 0) Check that you receive an email in the Mobile account.
    • MOODLE_31_STABLE
    • MOODLE_32_STABLE
    • Moodle Mobile 3.2

    Description

      We shouldn't display errors to final users anymore.

      Errors will be sent to Moodle only if the "Report errors automatically" preference is on.

      Attachments

        Activity

          People

            dpalou Dani Palou
            jleyva Juan Leyva
            Juan Leyva Juan Leyva
            Berta Maroto Berta Maroto
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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