Homec4science

Ensure syntax errors and other configuration problems are surfaced to the user.

Authored by epriestley <git@epriestley.com> on May 28 2011, 01:39.

Description

Ensure syntax errors and other configuration problems are surfaced to the user.

Summary:
Some PHP has junky defaults for error_reporting / display_errors, and the "@"
silences fatals. The @ should never have been there, I just copied it from the
libphutil initializer where we use @ because the default error message can be
confusing and we display a more useful one.

Test Plan:
Added fatals to my conf file, got a decent error message instead of silent exit
with err=255.

Reviewed By: aran
Reviewers: tuomaspelkonen, aran, jungejason
CC: aran
Differential Revision: 355

Details

Committed
epriestley <git@epriestley.com>May 28 2011, 01:59
Pushed
aubortJan 31 2017, 17:16
Parents
rPHcc5a86f75abc: Reenable login forms for installs with multiple login mechanisms.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH05846d5d481c: Ensure syntax errors and other configuration problems are surfaced to the user. (authored by epriestley <git@epriestley.com>).May 28 2011, 01:59