mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +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:
parent
08172cf361
commit
42a514ec79
1 changed files with 1 additions and 1 deletions
|
@ -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 ".
|
||||
|
|
Loading…
Reference in a new issue