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

Modify print_error to redirect and use the new notification system

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 3.3
    • General
    • None
    • MOODLE_33_STABLE

      Jake's comment in MDL-58899 made me think... why don't we just have print_error redirect to $link (or /) and use the notification system to display the error instead of throwing an unpleasant exception.

      We'd need to try and detect redirect loops ($currenturl == $link) but otherwise should be a relatively simple change with a nice benefit.

            Unassigned Unassigned
            dobedobedoh Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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