From b6e6e3a5209a92554a1f81f5ed5ae1e9e6d51c76 Mon Sep 17 00:00:00 2001 From: Hellblazer Date: Sat, 6 Apr 2024 12:19:24 -0700 Subject: [PATCH] clarify --- .../java/com/salesforce/apollo/state/SqlStateMachine.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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());