Merge pull request #147 from creative-commoners/pulls/2.3/non-zero-exit-code-on-failure

FIX Return a non-zero exit code when Solr_Configure has an exception
This commit is contained in:
Franco Springveldt 2017-08-15 09:01:38 +12:00 committed by GitHub
commit 7115a7a955
1 changed files with 4 additions and 0 deletions

View File

@ -240,6 +240,10 @@ class Solr_Configure extends Solr_BuildTask
->error("Failure: " . $e->getMessage());
}
}
if (isset($e)) {
exit(1);
}
}
/**