Merge "Allow to continue reindex despite failures"

This commit is contained in:
David Pursehouse 2016-11-30 12:42:44 +00:00 committed by Gerrit Code Review
commit c7f4386e95

View File

@ -44,7 +44,7 @@ final class IndexChangesCommand extends SshCommand {
try {
changeArgumentParser.addChange(token, changes, null, false);
} catch (UnloggedFailure e) {
throw new IllegalArgumentException(e.getMessage(), e);
writeError("warning", e.getMessage());
} catch (OrmException e) {
throw new IllegalArgumentException("database is down", e);
}