diff --git a/sql-state/src/main/java/com/salesforce/apollo/state/SqlStateMachine.java b/sql-state/src/main/java/com/salesforce/apollo/state/SqlStateMachine.java index 594b04285..74eca970b 100644 --- a/sql-state/src/main/java/com/salesforce/apollo/state/SqlStateMachine.java +++ b/sql-state/src/main/java/com/salesforce/apollo/state/SqlStateMachine.java @@ -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());