From 3a2dec2298730bddad07e1182430dba87604d101 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Wed, 15 Apr 2026 20:12:52 -0700 Subject: [PATCH] ChaincodeBase: fix 'occured' -> 'occurred' in error log messages Two log messages in ChaincodeBase.java (lines 205, 260) read 'An error occured on the chaincode stream'. Fixed to 'occurred'. String-literal-only change. Signed-off-by: SAY-5 --- .../main/java/org/hyperledger/fabric/shim/ChaincodeBase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeBase.java b/fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeBase.java index a90e6bda..b0831498 100644 --- a/fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeBase.java +++ b/fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeBase.java @@ -202,7 +202,7 @@ public void onNext(final ChaincodeMessage chaincodeMessage) { @Override public void onError(final Throwable t) { LOGGER.severe( - () -> "An error occured on the chaincode stream. Shutting down the chaincode stream." + () -> "An error occurred on the chaincode stream. Shutting down the chaincode stream." + Logging.formatError(t)); chaincodeSupportClient.shutdown(itm); @@ -257,7 +257,7 @@ public void onNext(final ChaincodeMessage chaincodeMessage) { @Override public void onError(final Throwable t) { - LOGGER.severe(() -> "An error occured on the chaincode stream. Shutting down the chaincode stream." + LOGGER.severe(() -> "An error occurred on the chaincode stream. Shutting down the chaincode stream." + Logging.formatError(t)); chaincodeSupportClient.shutdown(itm);