@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Clean up another insufficiently-general exception

Summary:
Ref T11044. This is still catching the older exceptions, which are now more general.

If you loaded the web UI without MySQL running, this meant you got a less-helpful error.

Test Plan: Stopped MySQL, loaded web UI, got a more-helpful error.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11044

Differential Revision: https://secure.phabricator.com/D16930

+2 -4
+1 -3
src/aphront/configuration/AphrontApplicationConfiguration.php
··· 81 81 try { 82 82 PhabricatorEnv::initializeWebEnvironment(); 83 83 $database_exception = null; 84 - } catch (AphrontInvalidCredentialsQueryException $ex) { 85 - $database_exception = $ex; 86 - } catch (AphrontConnectionQueryException $ex) { 84 + } catch (PhabricatorClusterStrandedException $ex) { 87 85 $database_exception = $ex; 88 86 } 89 87
+1 -1
src/applications/config/issue/PhabricatorSetupIssue.php
··· 22 22 private $links; 23 23 24 24 public static function newDatabaseConnectionIssue( 25 - AphrontQueryException $ex, 25 + Exception $ex, 26 26 $is_fatal) { 27 27 28 28 $message = pht(