1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-26 23:40:57 +01:00

make repository tool fail a little less hard if daemons don't interact nicely

Summary: we were catching a specific exception; just catch all exceptions

Test Plan: viewed repository tool home page

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T2155

Differential Revision: https://secure.phabricator.com/D4118
This commit is contained in:
Bob Trahan 2012-12-07 16:12:16 -08:00
parent 08172cf361
commit 42a514ec79

View file

@ -55,7 +55,7 @@ abstract class PhabricatorRepositoryController extends PhabricatorController {
$message =
"<p>The repository daemon is not running on this machine. ".
"{$common}</p>";
} catch (CommandException $ex) {
} catch (Exception $ex) {
$title = "Unable To Verify Repository Daemon";
$message =
"<p>Unable to determine if the repository daemon is running on this ".