Skip to content

Commit

Permalink
clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
Hellblazer committed Apr 6, 2024
1 parent 7558aa5 commit b6e6e3a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -808,9 +808,9 @@ private void update(ChangeLog changeLog) throws LiquibaseException {

private void updateCurrent(ULong height, Digest blkHash, int txn, Digest txnHash) {
if (updateCurrent == null) {
log.error("Failure to update current block: {} hash: {} txn: {} hash: {}, current block is null on: {}",
height, blkHash, txn, txnHash, id);
throw new IllegalStateException("Cannot update the CURRENT BLOCK on: " + id);
log.error("Failure to update current block: {} hash: {} txn: {} hash: {}, statement is null on: {}", height,
blkHash, txn, txnHash, id);
throw new IllegalStateException("Cannot update the CURRENT BLOCK, statement is null on: " + id);
}
try {
updateCurrent.setLong(1, height.longValue());
Expand Down

0 comments on commit b6e6e3a

Please sign in to comment.