HomePhorge

getConfigEnv fails fast when key is not found and no default value is given.

Description

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

Details

Provenance
Nick PellegrinoAuthored on Jan 19 2013, 12:11 PM
epriestleyCommitted on Jan 19 2013, 12:11 PM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP06bca93b47b4: Expanded Regexp for matching tasks to include more tenses
Branches
Unknown
Tags
Unknown

Event Timeline