Changeset View
Changeset View
Standalone View
Standalone View
src/applications/notification/setup/PhabricatorAphlictSetupCheck.php
Show All 18 Lines | try { | ||||
"\n", | "\n", | ||||
$ex->getMessage(), | $ex->getMessage(), | ||||
))); | ))); | ||||
$this->newIssue('aphlict.connect') | $this->newIssue('aphlict.connect') | ||||
->setShortName(pht('Notification Server Down')) | ->setShortName(pht('Notification Server Down')) | ||||
->setName(pht('Unable to Connect to Notification Server')) | ->setName(pht('Unable to Connect to Notification Server')) | ||||
->setSummary( | |||||
pht( | |||||
'Phabricator is configured to use a notification server, '. | |||||
'but is not able to connect to it.')) | |||||
->setMessage($message) | ->setMessage($message) | ||||
->addRelatedPhabricatorConfig('notification.servers') | ->addRelatedPhabricatorConfig('notification.servers') | ||||
->addCommand( | ->addCommand( | ||||
pht( | pht( | ||||
"(To start the server, run this command.)\n%s", | "(To start the server, run this command.)\n%s", | ||||
'phabricator/ $ ./bin/aphlict start')); | 'phabricator/ $ ./bin/aphlict start')); | ||||
return; | return; | ||||
} | } | ||||
} | } | ||||
} | } |