Merge "Allow to continue reindex despite failures"
This commit is contained in:
commit
c7f4386e95
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user