1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-19 20:10:55 +01:00

Ignore failures when rebuilding project search index in Maniphest migration

Summary: See <https://github.com/facebook/phabricator/issues/386>. Just ignore any issues here, they aren't worth complaining about.

Auditors: btrahan
This commit is contained in:
epriestley 2013-09-13 09:38:42 -07:00
parent 4a6efd36b4
commit b38a688cf7

View file

@ -12,5 +12,9 @@ $command = new PhutilExecPassthru(
$root.'/scripts/search/manage_search.php');
$err = $command->execute();
if ($err) {
throw new Exception("Update failed!");
// NOTE: Just ignore this. The indexing script fails if there are no projects
// yet, and even if it actually fails with something terrible and explosive
// it isn't very concerning. The worst case here is that "group by projects"
// doesn't work perfectly in Maniphest, and re-running the script later on
// can fix it.
}