mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
6f388f97d9
Summary: - Exceptions on the rendering pathway currently go uncaught and result in a blank page. Commonly, this is a bad require_celerity_resource() call. Although we can't safely render a page if the rendering pathway is broken, we can show a useful message. - When PHP exits because of a fatal error, there is an opportunity to run code in the shutdown handler. This allows us to show messages at least some of the time, e.g. "call to unknown function derp() in somefile.php at line 99" - flip dem tables Test Plan: Added fatals ("derp();") and rendering exceptions ("require_celerity_resource('does-not-exist')") to a controller and verified that the error handling behavior is now more useful. Reviewed By: aran Reviewers: jungejason, tuomaspelkonen, aran CC: aran, epriestley Differential Revision: 680 |
||
---|---|---|
.. | ||
rsrc | ||
favicon.ico | ||
index.php |