#4117 - Do not try to show nice errors during bootstrap

Identifier #4117
Issue type Trivial issue (does not break functionality)
Title Do not try to show nice errors during bootstrap
Status Completed
Handling member Chris Graham
Version 10.0.30
Addon core
Description It is possible some kind of unexpected error could occur before bootstrapping finishes. If Composr then tries to render a full error screen it may fail.
An example is keep_mobile=whatever being passed. The static cache checks will look to see if mobile mode is set before serving a cached page. This happens during bootstrap, for performance reasons. However, if keep_mobile is given an invalid parameter, an error is shown, but Composr is not at a point it can render that error, so PHP bombs out.
Handle this using the critical error system instead.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-4117 (Do not try to show nice errors during bootstrap) (0193e1f9) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated