mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 12:52:42 +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:
parent
4a6efd36b4
commit
b38a688cf7
1 changed files with 5 additions and 1 deletions
|
@ -12,5 +12,9 @@ $command = new PhutilExecPassthru(
|
||||||
$root.'/scripts/search/manage_search.php');
|
$root.'/scripts/search/manage_search.php');
|
||||||
$err = $command->execute();
|
$err = $command->execute();
|
||||||
if ($err) {
|
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.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue