diff --git a/node/src/main/kotlin/net/corda/node/services/persistence/DBCheckpointStorage.kt b/node/src/main/kotlin/net/corda/node/services/persistence/DBCheckpointStorage.kt index dd5d1c4998..f58357abe0 100644 --- a/node/src/main/kotlin/net/corda/node/services/persistence/DBCheckpointStorage.kt +++ b/node/src/main/kotlin/net/corda/node/services/persistence/DBCheckpointStorage.kt @@ -34,8 +34,10 @@ class DBCheckpointStorage : CheckpointStorage { @Type(type = "corda-blob") @Column(name = "checkpoint_value", nullable = false) - var checkpoint: ByteArray = EMPTY_BYTE_ARRAY - ) + var checkpoint: ByteArray = EMPTY_BYTE_ARRAY + ) { + override fun toString() = "DBCheckpoint(checkpointId = ${checkpointId}, checkpointSize = ${checkpoint.size})" + } override fun addCheckpoint(id: StateMachineRunId, checkpoint: SerializedBytes) { currentDBSession().save(DBCheckpoint().apply {