1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 00:02:41 +01:00
phorge-phorge/src/applications/config
Nick Pellegrino 3e6fa43658 getConfigEnv fails fast when key is not found and no default value is given.
Summary:
T2345
getConfig throws an Exception when the key does not exist.
Also removes dead code that throws an Exception.

Test Plan:
Reloaded the Phabricator home page.  In the process, found
2 Exceptions thrown due to nonexistent keys.  After addressing these problems,
the home page loads without Exceptions.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4541
2013-01-19 12:11:28 -08:00
..
application Move mail-related setup issues to setup checks 2013-01-18 13:28:30 -08:00
check Don't scream about local storage not being writable if a path hasn't been configured 2013-01-19 10:11:09 -08:00
controller Moved Version Footer from Footer to /config/all 2013-01-19 10:27:59 -08:00
editor Repair invalid configuration by setting values back to defaults 2013-01-17 16:25:38 -08:00
exception Allow configuration to be explicitly validated, including validation of complex attributes 2013-01-01 18:15:03 -08:00
issue Detect and raise setup warnings from within Phabricator 2012-12-30 06:37:49 -08:00
json Mask remaining config values, and implement set type 2013-01-16 15:06:07 -08:00
option getConfigEnv fails fast when key is not found and no default value is given. 2013-01-19 12:11:28 -08:00
query Use transactions to show edit history for Configuration 2013-01-01 18:14:41 -08:00
storage Use transactions to show edit history for Configuration 2013-01-01 18:14:41 -08:00
view Repair invalid configuration by setting values back to defaults 2013-01-17 16:25:38 -08:00