-
Improvement
-
Resolution: Fixed
-
Minor
-
4.1.6, 4.2.3, 4.3.1, 4.4
-
MOODLE_401_STABLE, MOODLE_402_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE
-
MOODLE_404_STABLE
-
MDL-79974-master-3 -
I've been using Whoops on another issue and feel that it would fit well into Moodle.
It's entirely optional, and we won't bundle it in the release. It only makes sense to enable it:
- when debug and debugdisplay are set
- when working on web requests, and not CLI or AJAX
Therefore we can include it as a developer dependency in the same way that we do for Behat, and PHPUnit via a Composer autoload.
I've also added a $CFG->debug_developer_use_pretty_exceptions flag to disable it for those who don't like functional UIs for developers (or for those who are working on those exceptions in some way).
- caused a regression
-
MDL-80759 Whoops should not capture exceptions in webservices
-
- Open
-
-
MDL-80215 Whoops should not be used for Behat sites
-
- Closed
-
- has been marked as being related by
-
MDL-82540 Undefined $CFG->debugdisplay when displaying an error page
-
- Closed
-
- has to be done before
-
MDL-80206 Add CFG option to treat debugging() calls as errors
-
- Closed
-
- links to