Skip to content

Commit 152b0b6

Browse files
Small Log Error update (#354) (#382)
Signed-off-by: Luis Lara <[email protected]> Signed-off-by: Luis Lara <[email protected]> Co-authored-by: Matthew B White <[email protected]> (cherry picked from commit d9795c6) Co-authored-by: Luis Lara <[email protected]>
1 parent 653b724 commit 152b0b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/fabric-shim/lib/handler.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ class ChaincodeMessageHandler {
328328
// can not process any message other than "ready"
329329
// from the peer when in "established" state
330330
// send an error message telling the peer about this
331-
logger.error(util.format('Chaincode is in "ready" state, can only ' +
332-
'process messages of type "established", but received "%s"', msg.type));
331+
logger.error(util.format('Chaincode is in "established" state, can only ' +
332+
'process messages of type "ready", but received "%s"', msg.type));
333333
const errMsg = newErrorMsg(msg, state);
334334
stream.write(errMsg);
335335
}

0 commit comments

Comments
 (0)