Skip to content

Commit

Permalink
Ignore tables that don't exist
Browse files Browse the repository at this point in the history
  • Loading branch information
aryy-suffolk committed Dec 19, 2024
1 parent 82c747e commit d905e08
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -447,11 +447,11 @@ public boolean updateAll(String baseUrl, FilingReviewMDEPort filingPort, CodeDat
tables);
for (String table : tables) {
Instant deleteFromTable = Instant.now(Clock.systemUTC());
if (!cd.deleteFromTable(table, courtLocation)) {
log.error("Couldn't delete from {} at {}, aborting", table, courtLocation);
cd.rollback(sp);
return false;
}

// No longer checking for false here -- see PR.
// Will ignore tables that don't exist.
cd.deleteFromTable(table, courtLocation)

updates = updates.plus(Duration.between(deleteFromTable, Instant.now(Clock.systemUTC())));
}
}
Expand Down

0 comments on commit d905e08

Please sign in to comment.