Skip to content

Commit 25ee361

Browse files
authored
ChaincodeBase: fix 'occured' -> 'occurred' in error log messages (#541)
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 <SAY-5@users.noreply.github.com> Co-authored-by: SAY-5 <SAY-5@users.noreply.github.com>
1 parent f1843e4 commit 25ee361

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fabric-chaincode-shim/src/main/java/org/hyperledger/fabric/shim/ChaincodeBase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ public void onNext(final ChaincodeMessage chaincodeMessage) {
202202
@Override
203203
public void onError(final Throwable t) {
204204
LOGGER.severe(
205-
() -> "An error occured on the chaincode stream. Shutting down the chaincode stream."
205+
() -> "An error occurred on the chaincode stream. Shutting down the chaincode stream."
206206
+ Logging.formatError(t));
207207

208208
chaincodeSupportClient.shutdown(itm);
@@ -257,7 +257,7 @@ public void onNext(final ChaincodeMessage chaincodeMessage) {
257257

258258
@Override
259259
public void onError(final Throwable t) {
260-
LOGGER.severe(() -> "An error occured on the chaincode stream. Shutting down the chaincode stream."
260+
LOGGER.severe(() -> "An error occurred on the chaincode stream. Shutting down the chaincode stream."
261261
+ Logging.formatError(t));
262262

263263
chaincodeSupportClient.shutdown(itm);

0 commit comments

Comments
 (0)