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

Improve format of debugging errors which contain new lines and whitespace

XMLWordPrintable

      There are a bunch of low level errors which are returning and error from an even lower level like the database and when these are show they get pretty mangled:

      It would be much better to safely return these formatted with some <code> or <pre> blocks. Even the example below could be even better by honoring the whitespace indenting and adding some fixed width fonts for the bits which we know are usually the kind of thing echo'ed into a shell:

            Unassigned Unassigned
            brendanheywood Brendan Heywood
            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.