1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 00:32:42 +01:00

Flip dem tables on E_COMPILE_ERROR

Summary: We currently show the table flipping error page only for E_ERROR and E_PARSE, but should for E_COMPILE_ERROR as well.

Test Plan: Added a method with a bad signature to a class. Loaded page. Got a helpful message instead of a blank page.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D3791
This commit is contained in:
epriestley 2012-10-22 17:49:57 -07:00
parent 31ac1cbf6e
commit ddde99f80c

View file

@ -327,7 +327,12 @@ function phabricator_shutdown() {
return;
}
if ($event['type'] != E_ERROR && $event['type'] != E_PARSE) {
switch ($event['type']) {
case E_ERROR:
case E_PARSE:
case E_COMPILE_ERROR:
break;
default:
return;
}