Merge "Allow to continue reindex despite failures"
This commit is contained in:
@@ -44,7 +44,7 @@ final class IndexChangesCommand extends SshCommand {
|
|||||||
try {
|
try {
|
||||||
changeArgumentParser.addChange(token, changes, null, false);
|
changeArgumentParser.addChange(token, changes, null, false);
|
||||||
} catch (UnloggedFailure e) {
|
} catch (UnloggedFailure e) {
|
||||||
throw new IllegalArgumentException(e.getMessage(), e);
|
writeError("warning", e.getMessage());
|
||||||
} catch (OrmException e) {
|
} catch (OrmException e) {
|
||||||
throw new IllegalArgumentException("database is down", e);
|
throw new IllegalArgumentException("database is down", e);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user